Skip to content

Commit

Permalink
Merge pull request #15 from jtrouth/master
Browse files Browse the repository at this point in the history
Add wait flag to rollout command
  • Loading branch information
Kim Scott authored Feb 19, 2021
2 parents 12525db + b8f31fa commit 472ad33
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@
volumeMounts:
- name: cloudsql-instance-credentials
mountPath: /secrets/cloudsql
readOnly: true
readOnly: true
startupProbe:
tcpSocket:
port: 5432
initialDelaySeconds: 5
periodSeconds: 5
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"rollout",
"status",
"deployment",
"-w",
"$(GCLOUD_SQLPROXY_DEPLOYMENT_NAME)"
]
1 change: 1 addition & 0 deletions kubernetes/lookit/base/patches_/wait-init-rabbitmq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"rollout",
"status",
"statefulset",
"-w",
"$(RABBITMQ_STATEFULSET_NAME)"
]
5 changes: 5 additions & 0 deletions kubernetes/lookit/base/rabbitmq/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ spec:
periodSeconds: 30
failureThreshold: 3
successThreshold: 1
startupProbe:
tcpSocket:
port: 5672
initialDelaySeconds: 5
periodSeconds: 5
env:
- name: BITNAMI_DEBUG
value: "false"
Expand Down

0 comments on commit 472ad33

Please sign in to comment.