File tree Expand file tree Collapse file tree
sample-operators/operations/src
main/java/io/javaoperatorsdk/operator/sample/operations Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ primaryResources:
3636probes :
3737 startup :
3838 enabled : true
39- path : /healthz
39+ path : /health
4040 readiness :
4141 enabled : true
42- path : /healthz
42+ path : /health
4343
You can’t perform that action at this time.
0 commit comments