From f0d239b0a67cb7597ce9307f44de5183671898ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Sat, 13 Apr 2024 12:54:16 +0000 Subject: [PATCH] Update Kubernetes --- Kubernetes.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Kubernetes.md b/Kubernetes.md index 9e0dc0e..7d3f706 100644 --- a/Kubernetes.md +++ b/Kubernetes.md @@ -31,9 +31,9 @@ curl -sfL https://get.k3s.io | K3S_TOKEN="" sh -s - agen you can check the state of the cluster by SSHing to any of the master nodes and running ``` -kubectl get node +kubectl get nodes ``` -or you can install https://k9scli.io for fancy terminal UI(highly recommendded) +or you can install https://k9scli.io for fancy terminal UI (highly recommend) # Network configuration ## Installing MetalLB @@ -100,6 +100,12 @@ kubectl apply -f deployments/daemon-set/nginx-ingress.yaml kubectl apply -f deployments/service/loadbalancer.yaml ``` +you can check what ip address the service is exposed on with: + +``` +kubectl get -n ingress-nginx get services +``` + # Longhorn Longhorn is a system that manages permanent storage inside your kubernetes cluster.