Parcourir la source

Merge pull request #61 from eddiewang/rancher-usage-notes

Add quick note for k3s setup
Lucas Servén Marín il y a 5 ans
Parent
commit
3948f5e97a
2 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 3 0
      manifests/kilo-k3s-flannel.yaml
  2. 3 0
      manifests/kilo-k3s.yaml

+ 3 - 0
manifests/kilo-k3s-flannel.yaml

@@ -102,6 +102,9 @@ spec:
           path: /var/lib/kilo
       - name: kubeconfig
         hostPath: 
+          # Since kilo runs as a daemonset, it is recommended that you copy the
+          # k3s.yaml kubeconfig file from the master node to all worker nodes
+          # with the same path structure.
           path: /etc/rancher/k3s/k3s.yaml
       - name: lib-modules
         hostPath:

+ 3 - 0
manifests/kilo-k3s.yaml

@@ -166,6 +166,9 @@ spec:
           path: /var/lib/kilo
       - name: kubeconfig
         hostPath: 
+          # Since kilo runs as a daemonset, it is recommended that you copy the
+          # k3s.yaml kubeconfig file from the master node to all worker nodes
+          # with the same path structure.
           path: /etc/rancher/k3s/k3s.yaml
       - name: lib-modules
         hostPath: