From e3a20da45be639a8c23f1974b02669cdbcc56557 Mon Sep 17 00:00:00 2001 From: Deron Smith Date: Wed, 13 Mar 2024 08:44:40 -0400 Subject: [PATCH] updated aws k8s probe checks --- hms | 2 +- hms_app | 2 +- hms_flask | 2 +- k8s/hms-dask-scheduler-deployment.yml | 28 +++++++++++++-------------- k8s/hms-dask-worker-deployment.yml | 7 +------ 5 files changed, 17 insertions(+), 24 deletions(-) diff --git a/hms b/hms index c3a5f65..55ef05e 160000 --- a/hms +++ b/hms @@ -1 +1 @@ -Subproject commit c3a5f654e32d5612cbf0412022ad708c737c7d0b +Subproject commit 55ef05ec3f1cb5fad49883786c596a96d066905a diff --git a/hms_app b/hms_app index 9b97f8b..87f6387 160000 --- a/hms_app +++ b/hms_app @@ -1 +1 @@ -Subproject commit 9b97f8b04170f96f6a0780e098fb5c5b5250f4b8 +Subproject commit 87f6387b00fb32b0232feae0f72392a03271f980 diff --git a/hms_flask b/hms_flask index 221bbb1..a553204 160000 --- a/hms_flask +++ b/hms_flask @@ -1 +1 @@ -Subproject commit 221bbb1ea454b15ab362ed6bbc03b83d117395f7 +Subproject commit a553204dd130d353e774ecfcd34124c74cad63a8 diff --git a/k8s/hms-dask-scheduler-deployment.yml b/k8s/hms-dask-scheduler-deployment.yml index 335d1e2..a888f73 100644 --- a/k8s/hms-dask-scheduler-deployment.yml +++ b/k8s/hms-dask-scheduler-deployment.yml @@ -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: diff --git a/k8s/hms-dask-worker-deployment.yml b/k8s/hms-dask-worker-deployment.yml index 690b67d..b71a712 100644 --- a/k8s/hms-dask-worker-deployment.yml +++ b/k8s/hms-dask-worker-deployment.yml @@ -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