Skip to content

Commit

Permalink
Fix KCM livenessProbe to use secure port
Browse files Browse the repository at this point in the history
  • Loading branch information
rifelpet committed May 11, 2021
1 parent 6dd743f commit 47add60
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions nodeup/pkg/model/kube_controller_manager.go
Expand Up @@ -173,9 +173,10 @@ func (b *KubeControllerManagerBuilder) buildPod() (*v1.Pod, error) {
LivenessProbe: &v1.Probe{
Handler: v1.Handler{
HTTPGet: &v1.HTTPGetAction{
Host: "127.0.0.1",
Path: "/healthz",
Port: intstr.FromInt(10252),
Host: "127.0.0.1",
Path: "/healthz",
Port: intstr.FromInt(10257),
Scheme: "HTTPS",
},
},
InitialDelaySeconds: 15,
Expand Down
Expand Up @@ -38,7 +38,8 @@ contents: |
httpGet:
host: 127.0.0.1
path: /healthz
port: 10252
port: 10257
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 15
name: kube-controller-manager
Expand Down
Expand Up @@ -38,7 +38,8 @@ contents: |
httpGet:
host: 127.0.0.1
path: /healthz
port: 10252
port: 10257
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 15
name: kube-controller-manager
Expand Down
Expand Up @@ -38,7 +38,8 @@ contents: |
httpGet:
host: 127.0.0.1
path: /healthz
port: 10252
port: 10257
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 15
name: kube-controller-manager
Expand Down

0 comments on commit 47add60

Please sign in to comment.