Probe kube-scheduler and kube-controller-manager HTTPS ports

* Disable kube-scheduler and kube-controller-manager HTTP ports
This commit is contained in:
Dalton Hubble
2019-01-09 20:50:57 -08:00
parent 0e65e3567e
commit 48730c0f12
2 changed files with 6 additions and 2 deletions

View File

@@ -51,13 +51,15 @@ spec:
- --cluster-signing-key-file=/etc/kubernetes/secrets/ca.key
- --configure-cloud-routes=false
- --leader-elect=true
- --port=0
- --flex-volume-plugin-dir=/var/lib/kubelet/volumeplugins
- --root-ca-file=/etc/kubernetes/secrets/ca.crt
- --service-account-private-key-file=/etc/kubernetes/secrets/service-account.key
livenessProbe:
httpGet:
scheme: HTTPS
path: /healthz
port: 10252 # Note: Using default port. Update if --port option is set differently.
port: 10257
initialDelaySeconds: 15
timeoutSeconds: 15
volumeMounts:

View File

@@ -53,9 +53,11 @@ spec:
- ./hyperkube
- scheduler
- --leader-elect=true
- --port=0
livenessProbe:
httpGet:
scheme: HTTPS
path: /healthz
port: 10251 # Note: Using default port. Update if --port option is set differently.
port: 10259
initialDelaySeconds: 15
timeoutSeconds: 15