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.

33 lines
842 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. resources:
  15. limits:
  16. cpu: {{ kube_scheduler_cpu_limit }}
  17. memory: {{ kube_scheduler_memory_limit }}
  18. requests:
  19. cpu: {{ kube_scheduler_cpu_requests }}
  20. memory: {{ kube_scheduler_memory_requests }}
  21. command:
  22. - /hyperkube
  23. - scheduler
  24. - --leader-elect=true
  25. - --master={{ kube_apiserver_endpoint }}
  26. - --v={{ kube_log_level }}
  27. livenessProbe:
  28. httpGet:
  29. host: 127.0.0.1
  30. path: /healthz
  31. port: 10251
  32. initialDelaySeconds: 30
  33. timeoutSeconds: 10