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