Update Kubernetes

Tomislav Kopić 2024-04-13 18:15:42 +00:00
parent 91d2615e2a
commit 8b4d1fc6ae

@ -37,13 +37,6 @@ kubectl get nodes
``` ```
or you can install https://k9scli.io for fancy terminal UI (highly recommend) or you can install https://k9scli.io for fancy terminal UI (highly recommend)
# Network configuration
## Installing MetalLB
MetalLB hooks into your Kubernetes cluster, and provides a network load-balancer implementation. In short, it allows you to expose services via IP address.
```
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.4/config/manifests/metallb-native.yaml
```
## Accessing the cluster from your machine ## Accessing the cluster from your machine
Kubernetes config file can be found on any of the control plane nodes at: Kubernetes config file can be found on any of the control plane nodes at:
@ -57,6 +50,13 @@ You can copy that file over to your PC to
``` ```
And edit the server url from 127.0.0.1 to the ip addres of one of the control plane nodes And edit the server url from 127.0.0.1 to the ip addres of one of the control plane nodes
# Network configuration
## Installing MetalLB
MetalLB hooks into your Kubernetes cluster, and provides a network load-balancer implementation. In short, it allows you to expose services via IP address.
```
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.4/config/manifests/metallb-native.yaml
```
### MetalLB IP pool ### MetalLB IP pool
Create a new yaml file with the following content and be sure to customize your ip range: Create a new yaml file with the following content and be sure to customize your ip range:
``` ```