Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add liveness and readiness probes #144

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,21 @@ spec:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: opendatahub-operator
ports:
- containerPort: 8383
protocol: TCP
image: quay.io/opendatahub/opendatahub-operator:v1.1.0
imagePullPolicy: Always
name: opendatahub-operator
resources: {}
readinessProbe:
tcpSocket:
port: 8383
initialDelaySeconds: 30
livenessProbe:
tcpSocket:
port: 8383
initialDelaySeconds: 30
serviceAccountName: opendatahub-operator
strategy: deployment
installModes:
Expand Down
11 changes: 11 additions & 0 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,19 @@ spec:
- name: kubeflow-operator
# Replace this with the built image name
image: aipipeline/kubeflow-operator:v1.1.0
readinessProbe:
tcpSocket:
port: 8383
initialDelaySeconds: 30
livenessProbe:
tcpSocket:
port: 8383
initialDelaySeconds: 30
command:
- kfctl
ports:
- containerPort: 8383
protocol: TCP
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
Expand Down