Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit e6bec60

Browse files
author
Daniel Lipovetsky
committed
Use httpGet readiness probe for proxy Pod
Signed-off-by: Daniel Lipovetsky <[email protected]>
1 parent 182fa79 commit e6bec60

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

demo/manifests/components/kube-oidc-proxy.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ local READINESS_PORT = 8080;
104104
},
105105

106106
readinessProbe: {
107-
tcpSocket: { port: READINESS_PORT },
107+
httpGet: { path: '/ready', port: READINESS_PORT },
108108
initialDelaySeconds: 15,
109109
periodSeconds: 10,
110110
},

demo/yaml/kube-oidc-proxy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ spec:
3434
- containerPort: 443
3535
- containerPort: 8080
3636
readinessProbe:
37-
tcpSocket:
37+
httpGet:
38+
path: /ready
3839
port: 8080
3940
initialDelaySeconds: 5
4041
periodSeconds: 10

0 commit comments

Comments
 (0)