Skip to content

Commit

Permalink
Try with TCP socket probes
Browse files Browse the repository at this point in the history
  • Loading branch information
ramperher committed Jan 2, 2024
1 parent 93adbaa commit 0a814be
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions cnf-app-mac-operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ spec:
image: controller:latest
imagePullPolicy: Always
name: manager
ports:
- containerPort: 8095
resources:
limits:
cpu: 100m
Expand All @@ -36,21 +38,18 @@ spec:
fieldRef:
fieldPath: metadata.namespace
livenessProbe:
httpGet:
path: /healthz
port: 6789
tcpSocket:
port: 8095
initialDelaySeconds: 15
periodSeconds: 20
readinessProbe:
httpGet:
path: /readyz
port: 6789
tcpSocket:
port: 8095
initialDelaySeconds: 5
periodSeconds: 10
startupProbe:
httpGet:
path: /startupz
port: 6789
tcpSocket:
port: 8095
initialDelaySeconds: 5
periodSeconds: 10
terminationMessagePolicy: FallbackToLogsOnError
Expand Down

0 comments on commit 0a814be

Please sign in to comment.