From 8b4d1fc6aee43c708253fa058b813d5598d008de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Sat, 13 Apr 2024 18:15:42 +0000 Subject: [PATCH] Update Kubernetes --- Kubernetes.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: ```