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
531 B

  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={{ kube_apiserver_endpoint }}
  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