Skip to content

Commit

Permalink
Increase controller k8s initial delay startup probe.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanKarab committed Dec 13, 2023
1 parent 2b11a0b commit 0f90d45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/prod_env_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,13 @@ jobs:
with:
run: kubectl logs -l nodeType=localnode -c node --tail -1

- name: Wait for CONTROLLER container to become ready
uses: jakejarvis/wait-action@master
with:
time: '60s'

- name: Run Healthcheck
run: curl "http://172.17.0.1:5000/healthcheck"
continue-on-error: true # The first healthcheck could fail due to timeouts involved. When it times out, successful or not, everything should be running.

- name: Update NodeLandscapeAggregator
run: curl -X POST "http://172.17.0.1:5000/nla"
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/templates/mipengine-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ spec:
httpGet:
path: /healthcheck
port: 5000
initialDelaySeconds: 30
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: {{ .Values.controller.celery_tasks_timeout }}
livenessProbe:
httpGet:
path: /healthcheck
port: 5000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: {{ .Values.controller.celery_tasks_timeout }}

Expand Down

0 comments on commit 0f90d45

Please sign in to comment.