Skip to content

Commit df8bb9e

Browse files
committed
health endpoint naming
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 9a0a405 commit df8bb9e

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

helm/generic-helm-chart/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ probes:
137137
port: 8080
138138
startup:
139139
enabled: false
140-
path: /healthz
140+
path: /health/startup
141141
initialDelaySeconds: 1
142142
periodSeconds: 10
143143
timeoutSeconds: 5
144144
failureThreshold: 20
145145
readiness:
146146
enabled: false
147-
path: /healthz
147+
path: /health/ready
148148
initialDelaySeconds: 5
149149
periodSeconds: 5
150150
timeoutSeconds: 5
@@ -155,7 +155,7 @@ probes:
155155
# is to cover your domain specific use case.
156156
liveness:
157157
enabled: false
158-
path: /healthz
158+
path: /health/live
159159
initialDelaySeconds: 15
160160
periodSeconds: 10
161161
timeoutSeconds: 5

sample-operators/operations/src/main/java/io/javaoperatorsdk/operator/sample/operations/OperationsSampleOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static void main(String[] args) throws Exception {
7878
operator.register(
7979
new OperationsReconciler2(),
8080
configLoader.applyControllerConfigs(OperationsReconciler2.NAME));
81-
var health = new ContextHandler(new HealthHandler(operator), "/healthz");
81+
var health = new ContextHandler(new HealthHandler(operator), "/health");
8282
Server server = new Server(8080);
8383
server.setHandler(health);
8484
server.start();

sample-operators/operations/src/test/resources/helm-values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ primaryResources:
3636
probes:
3737
startup:
3838
enabled: true
39-
path: /healthz
39+
path: /health
4040
readiness:
4141
enabled: true
42-
path: /healthz
42+
path: /health
4343

0 commit comments

Comments
 (0)