Mount kubeconfig file into kube-scheduler in kubemark

This commit is contained in:
Jordan Liggitt 2017-02-15 10:03:57 -05:00
parent 17e745631a
commit d69a75d50f
No known key found for this signature in database
GPG Key ID: 24E7ADF9A3B42012

View File

@ -28,9 +28,15 @@ spec:
initialDelaySeconds: 15 initialDelaySeconds: 15
timeoutSeconds: 15 timeoutSeconds: 15
volumeMounts: volumeMounts:
- name: srvkube
mountPath: /etc/srv/kubernetes
readOnly: true
- name: logfile - name: logfile
mountPath: /var/log/kube-scheduler.log mountPath: /var/log/kube-scheduler.log
volumes: volumes:
- name: srvkube
hostPath:
path: /etc/srv/kubernetes
- name: logfile - name: logfile
hostPath: hostPath:
path: /var/log/kube-scheduler.log path: /var/log/kube-scheduler.log