From 3422b9102f5389b825739d808e99c62b01bbca9d Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 17 Jan 2019 11:33:35 +0000 Subject: [PATCH 1/3] Add comment for why /usr/bin is mounted --- job-master.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/job-master.yaml b/job-master.yaml index 6c827ef..7219af8 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" From 528bcfbffe88ab994ba35c89d304e304713e5d25 Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 17 Jan 2019 11:34:26 +0000 Subject: [PATCH 2/3] Update job-node.yaml --- job-node.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/job-node.yaml b/job-node.yaml index e35c5bd..29efc90 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" From f2062e81a1f0073c6b2211f39082ac9f3b72c645 Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 17 Jan 2019 11:36:25 +0000 Subject: [PATCH 3/3] Comment why /usr/bin is mounted --- job-node.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job-node.yaml b/job-node.yaml index 29efc90..81767bb 100644 --- a/job-node.yaml +++ b/job-node.yaml @@ -18,7 +18,7 @@ spec: - 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. + # You can omit this mount if you specify --version as part of the command. - name: usr-bin mountPath: /usr/bin restartPolicy: Never