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.

26 lines
603 B

  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: kube-scheduler
  5. namespace: kube-system
  6. labels:
  7. k8s-app: kube-scheduler
  8. spec:
  9. hostNetwork: true
  10. containers:
  11. - name: kube-scheduler
  12. image: {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}
  13. imagePullPolicy: {{ k8s_image_pull_policy }}
  14. command:
  15. - /hyperkube
  16. - scheduler
  17. - --leader-elect=true
  18. - --master={{ kube_apiserver_endpoint }}
  19. - --v={{ kube_log_level }}
  20. livenessProbe:
  21. httpGet:
  22. host: 127.0.0.1
  23. path: /healthz
  24. port: 10251
  25. initialDelaySeconds: 30
  26. timeoutSeconds: 10