Update Kubernetes

Tomislav Kopić 2024-04-13 12:54:16 +00:00
parent b8df17175b
commit f0d239b0a6

@ -31,9 +31,9 @@ curl -sfL https://get.k3s.io | K3S_TOKEN="<Rand0mlyG3n3rat3dT0ken>" sh -s - agen
you can check the state of the cluster by SSHing to any of the master nodes and running 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 # Network configuration
## Installing MetalLB ## Installing MetalLB
@ -100,6 +100,12 @@ kubectl apply -f deployments/daemon-set/nginx-ingress.yaml
kubectl apply -f deployments/service/loadbalancer.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
Longhorn is a system that manages permanent storage inside your kubernetes cluster. Longhorn is a system that manages permanent storage inside your kubernetes cluster.