Skip to content

Commit

Permalink
updated aws k8s probe checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsmith88 committed Mar 13, 2024
1 parent a1f10d7 commit e3a20da
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 24 deletions.
2 changes: 1 addition & 1 deletion hms
Submodule hms updated 193 files
2 changes: 1 addition & 1 deletion hms_app
Submodule hms_app updated 332 files
28 changes: 13 additions & 15 deletions k8s/hms-dask-scheduler-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,23 @@ spec:
spec:
containers:
- args:
- dask-scheduler
# - conda
# - run
# - -n
# - pyenv
# - --no-capture-output
# - dask-scheduler
- dask scheduler
image: ghcr.io/quanted/hms_flask:dev-kube
imagePullPolicy: Always
readinessProbe:
tcpSocket:
port: 8786
livenessProbe:
exec:
command:
- ls
- /
initialDelaySeconds: 5
periodSeconds: 10
periodSeconds: 5
timeoutSeconds: 10
livenessProbe:
tcpSocket:
port: 8786
initialDelaySeconds: 15
readinessProbe:
exec:
command:
- ls
- /
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 10
resources:
Expand Down
7 changes: 1 addition & 6 deletions k8s/hms-dask-worker-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ spec:
spec:
containers:
- args:
# - conda
# - run
# - -n
# - pyenv
# - --no-capture-output
- dask-worker
- dask worker
- hms-dask-scheduler:8786
image: ghcr.io/quanted/hms_flask:dev-kube
imagePullPolicy: Always
Expand Down

0 comments on commit e3a20da

Please sign in to comment.