diff --git a/Kubernetes.md b/Kubernetes.md index 002afdd..7c2a5cd 100644 --- a/Kubernetes.md +++ b/Kubernetes.md @@ -37,13 +37,6 @@ kubectl get nodes ``` 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 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 +# 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 Create a new yaml file with the following content and be sure to customize your ip range: ```