You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
551 B

9 years ago
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: kube-scheduler
  5. namespace: kube-system
  6. spec:
  7. hostNetwork: true
  8. containers:
  9. - name: kube-scheduler
  10. image: {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}
  11. command:
  12. - /hyperkube
  13. - scheduler
  14. - --leader-elect=true
  15. - --master=http://127.0.0.1:{{kube_apiserver_insecure_port}}
  16. - --v={{ kube_log_level | default('2') }}
  17. livenessProbe:
  18. httpGet:
  19. host: 127.0.0.1
  20. path: /healthz
  21. port: 10251
  22. initialDelaySeconds: 30
  23. timeoutSeconds: 10