diff --git a/job-master.yaml b/job-master.yaml index 6c827ef95cac15e11f5a3b8151d2efb9e311a75e..7219af8643d5cf291c117320b74212b6cc83ff9d 100644 --- a/job-master.yaml +++ b/job-master.yaml @@ -21,6 +21,8 @@ spec: mountPath: /var/lib/etcd - name: etc-kubernetes mountPath: /etc/kubernetes + # /usr/bin is mounted to access kubectl / kubelet, for auto-detecting the Kubernetes version. + # You can omit this mount if you specify --version as part of the command. - name: usr-bin mountPath: /usr/bin restartPolicy: Never @@ -33,4 +35,4 @@ spec: path: "/etc/kubernetes" - name: usr-bin hostPath: - path: "/usr/bin" \ No newline at end of file + path: "/usr/bin" diff --git a/job-node.yaml b/job-node.yaml index e35c5bd315501aa70e8ab8b2a560fb61dc2e06e1..81767bbf90600e9e1df6212fb82597e03893f6a0 100644 --- a/job-node.yaml +++ b/job-node.yaml @@ -17,6 +17,8 @@ spec: mountPath: /etc/systemd - name: etc-kubernetes mountPath: /etc/kubernetes + # /usr/bin is mounted to access kubectl / kubelet, for auto-detecting the Kubernetes version. + # You can omit this mount if you specify --version as part of the command. - name: usr-bin mountPath: /usr/bin restartPolicy: Never @@ -32,4 +34,4 @@ spec: path: "/etc/kubernetes" - name: usr-bin hostPath: - path: "/usr/bin" \ No newline at end of file + path: "/usr/bin"