add readiness and liveness probes to container manager

parent 28118733
...@@ -567,6 +567,18 @@ EOF ...@@ -567,6 +567,18 @@ EOF
name: user-shared name: user-shared
- mountPath: "/nomad/nomadlab/user-data/private" - mountPath: "/nomad/nomadlab/user-data/private"
name: user-private name: user-private
readinessProbe:
httpGet:
path: "/nmdalive"
port: 3003
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: "/nmdalive"
port: 3003
initialDelaySeconds: 30
periodSeconds: 30
volumes: volumes:
- name: kube-certs - name: kube-certs
secret: secret:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment