From 585a8ce9754bfaf1f94dab8fc811aa43fd01cf75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Sat, 13 Apr 2024 13:08:50 +0000 Subject: [PATCH] Update Kubernetes --- Kubernetes.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Kubernetes.md b/Kubernetes.md index 92dacc0..99c23a9 100644 --- a/Kubernetes.md +++ b/Kubernetes.md @@ -156,7 +156,11 @@ you can check what ip address the service is exposed on with: kubectl get -n ingress-nginx get services ``` You can create a wildcard record pointing to that address to make exposing services easier. +for example +*.my.cluster.com + +# Storage configuration # Longhorn Longhorn is a system that manages permanent storage inside your kubernetes cluster. @@ -166,6 +170,11 @@ On each storage node in your cluster you must install: apt-get install open-iscsi nfs-common ``` +by default longhorn stores data on each node in a directory, so you can mount your storage drives there +``` +/var/lib/longhorn/ +``` + before installing Longhorn itself ``` kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.6.1/deploy/longhorn.yaml