-
Notifications
You must be signed in to change notification settings - Fork 4
/
kube-controller-manager.yaml
50 lines (49 loc) · 1.32 KB
/
kube-controller-manager.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: v1
kind: Pod
metadata:
labels:
component: kube-controller-manager
tier: control-plane
name: kube-controller-manager
namespace: kube-system
spec:
hostNetwork: true
containers:
- name: kube-controller-manager
image: gcr.io/google_containers/kube-controller-manager-amd64:v1.5.3
imagePullPolicy: IfNotPresent
command:
- kube-controller-manager
- --address=127.0.0.1
- --leader-elect
- --master=127.0.0.1:8080
- --cluster-name=kubernetes
- --root-ca-file=/etc/kubernetes/pki/ca.pem
- --service-account-private-key-file=/etc/kubernetes/pki/sa-key.pem
- --cluster-signing-cert-file=/etc/kubernetes/pki/ca.pem
- --cluster-signing-key-file=/etc/kubernetes/pki/ca-key.pem
- --insecure-experimental-approve-all-kubelet-csrs-for-group=system:kubelet-bootstrap
livenessProbe:
failureThreshold: 8
httpGet:
host: 127.0.0.1
path: /healthz
port: 10252
scheme: HTTP
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 15
volumeMounts:
- mountPath: /etc/kubernetes/
name: k8s
readOnly: true
- mountPath: /etc/ssl/certs
name: certs
volumes:
- hostPath:
path: /etc/kubernetes
name: k8s
- hostPath:
path: /etc/ssl/certs
name: certs