We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de68655 + d742a10 commit 45f602aCopy full SHA for 45f602a
1 file changed
bats/tests/k8s/helm-install-rancher.bats
@@ -112,9 +112,17 @@ deploy_rancher() {
112
--version "$rancher_chart_version" \
113
--namespace cattle-system \
114
--set hostname="$host" \
115
- --wait \
116
- --timeout=10m \
+ --set replicas=1 \
117
--create-namespace
+
118
+ # Don't use `helm --wait`: the chart's Deployment relies on the default
119
+ # `progressDeadlineSeconds` (10m), which is shorter than the initial
120
+ # rancher image pull on slow networks. Wait on `Available` directly,
121
+ # since that condition is driven by pod Ready state and is unaffected
122
+ # by ProgressDeadlineExceeded.
123
+ kubectl wait --namespace cattle-system \
124
+ --for=condition=Available --timeout=30m \
125
+ deployment/rancher
126
}
127
128
verify_rancher() {
0 commit comments