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.

38 lines
1.0 KiB

9 years ago
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: kube-controller-manager
  5. namespace: kube-system
  6. spec:
  7. hostNetwork: true
  8. containers:
  9. - name: kube-controller-manager
  10. image: {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}
  11. command:
  12. - /hyperkube
  13. - controller-manager
  14. - --master=http://127.0.0.1:{{kube_apiserver_insecure_port}}
  15. - --service-account-private-key-file={{ kube_cert_dir }}/apiserver-key.pem
  16. - --root-ca-file={{ kube_cert_dir }}/ca.pem
  17. - --v={{ kube_log_level | default('2') }}
  18. livenessProbe:
  19. httpGet:
  20. host: 127.0.0.1
  21. path: /healthz
  22. port: 10252
  23. initialDelaySeconds: 30
  24. timeoutSeconds: 10
  25. volumeMounts:
  26. - mountPath: {{ kube_cert_dir }}
  27. name: ssl-certs-kubernetes
  28. readOnly: true
  29. - mountPath: /etc/ssl/certs
  30. name: ssl-certs-host
  31. readOnly: true
  32. volumes:
  33. - hostPath:
  34. path: {{ kube_cert_dir }}
  35. name: ssl-certs-kubernetes
  36. - hostPath:
  37. path: /usr/share/ca-certificates
  38. name: ssl-certs-host