summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hussey <sh8121@att.com>2019-01-30 16:55:42 -0600
committerScott Hussey <sh8121@att.com>2019-01-30 16:55:42 -0600
commit79db1a1811b1b3ceb31fea61ef5707f80ae93452 (patch)
tree538f4731da23a707d5fa8b6176375d3e10347462
parent70e85db81fad6d718d0a4953d1ac4fa6e498373f (diff)
(chart) rackd pod readiness check
- Add a readiness check for the rack pods. This really only applies when they are spawned and will not be useful for ongoing readiness evaluation. Should eliminate false 'completions' of the chart deployment. Change-Id: I5b547976e770302d2cc293396e1041798ac7e4ea
Notes
Notes (review): Code-Review+2: Sean Eagan <sean.eagan@att.com> Code-Review+2: Bryan Strassner <strassner.bryan@gmail.com> Workflow+1: Bryan Strassner <strassner.bryan@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 31 Jan 2019 16:34:05 +0000 Reviewed-on: https://review.openstack.org/634062 Project: openstack/airship-maas Branch: refs/heads/master
-rw-r--r--charts/maas/templates/statefulset-rack.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/charts/maas/templates/statefulset-rack.yaml b/charts/maas/templates/statefulset-rack.yaml
index 78e37ea..1c99ffc 100644
--- a/charts/maas/templates/statefulset-rack.yaml
+++ b/charts/maas/templates/statefulset-rack.yaml
@@ -76,6 +76,15 @@ spec:
76 - /tmp/start.sh 76 - /tmp/start.sh
77 securityContext: 77 securityContext:
78 privileged: true 78 privileged: true
79 readinessProbe:
80 initialDelaySeconds: 60
81 periodSeconds: 300
82 timeoutSeconds: 60
83 exec:
84 command:
85 - /bin/bash
86 - -c
87 - journalctl -u register-rack-controller -n 5 | grep -q 'Successfully registered with MaaS Region Controller'
79 volumeMounts: 88 volumeMounts:
80 - mountPath: /sys/fs/cgroup 89 - mountPath: /sys/fs/cgroup
81 name: host-sys-fs-cgroup 90 name: host-sys-fs-cgroup