Skip to content

Commit 0a814be

Browse files
committed
Try with TCP socket probes
1 parent 93adbaa commit 0a814be

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

Diff for: cnf-app-mac-operator/config/manager/manager.yaml

+8-9
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ spec:
2323
image: controller:latest
2424
imagePullPolicy: Always
2525
name: manager
26+
ports:
27+
- containerPort: 8095
2628
resources:
2729
limits:
2830
cpu: 100m
@@ -36,21 +38,18 @@ spec:
3638
fieldRef:
3739
fieldPath: metadata.namespace
3840
livenessProbe:
39-
httpGet:
40-
path: /healthz
41-
port: 6789
41+
tcpSocket:
42+
port: 8095
4243
initialDelaySeconds: 15
4344
periodSeconds: 20
4445
readinessProbe:
45-
httpGet:
46-
path: /readyz
47-
port: 6789
46+
tcpSocket:
47+
port: 8095
4848
initialDelaySeconds: 5
4949
periodSeconds: 10
5050
startupProbe:
51-
httpGet:
52-
path: /startupz
53-
port: 6789
51+
tcpSocket:
52+
port: 8095
5453
initialDelaySeconds: 5
5554
periodSeconds: 10
5655
terminationMessagePolicy: FallbackToLogsOnError

0 commit comments

Comments
 (0)