Mount kubeconfig file into kube-scheduler in kubemark
This commit is contained in:
parent
17e745631a
commit
d69a75d50f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user