Created
July 9, 2018 03:42
-
-
Save d-nishi/acdc428c3628e0f1a5ad9794b5e62755 to your computer and use it in GitHub Desktop.
example of out-of-tree /etc/kubernetes/manifests/kube-controller-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kube-controller-manager | |
namespace: kube-system | |
spec: | |
hostNetwork: true | |
containers: | |
- name: kube-controller-manager | |
image: quay.io/coreos/hyperkube:v1.5.4_coreos.0 | |
command: | |
- /hyperkube | |
- controller-manager | |
- --master=http://127.0.0.1:8080 | |
- --leader-elect=true | |
- --service-account-private-key-file=/etc/kubernetes/ssl/apiserver-key.pem | |
- --root-ca-file=/etc/kubernetes/ssl/ca.pem | |
resources: | |
requests: | |
cpu: 200m | |
livenessProbe: | |
httpGet: | |
host: 127.0.0.1 | |
path: /healthz | |
port: 10252 | |
initialDelaySeconds: 15 | |
timeoutSeconds: 15 | |
volumeMounts: | |
- mountPath: /etc/kubernetes/ssl | |
name: ssl-certs-kubernetes | |
readOnly: true | |
- mountPath: /etc/ssl/certs | |
name: ssl-certs-host | |
readOnly: true | |
volumes: | |
- hostPath: | |
path: /etc/kubernetes/ssl | |
name: ssl-certs-kubernetes | |
- hostPath: | |
path: /usr/share/ca-certificates | |
name: ssl-certs-host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment