You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deployment fails on timeout waiting the chart is completely deployed.
9:09:30 PM | CREATE_FAILED | Custom::AWSCDK-EKS-HelmChart | MyK8SCluster/chart...3/Resource/Default
Failed to create resource. Error: b'Release "nexus3" does not exist. Installing it now.\nError: timed out waiting for th
e condition\n'
at invokeUserFunction (/var/task/framework.js:85:19)
at process._tickCallback (internal/process/next_tick.js:68:7)
It should be introduced by #8338 that does not honor the default wait value false. Looks like explicit --timeout enables --wait switch as well.
--timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s)
--wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout
Error Log
Environment
CLI Version : 1.46.0
Framework Version:
Node.js Version:
OS :
Language (Version):
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
chore(eks): support create namespace with helm
- add `createNamespace` property for `eks.HelmChart`
- set the `wait` flag correctly for HelmChart custom resource
Fixes: #7216#7209#8713
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
After upgrading cdk to latest
1.46.0
, deploying a helm chart to EKS failing on timeout.Reproduction Steps
Deploy a helm chart without specifying
wait
andtimeout
in slow network env(such as China regions) like below,See complete app here.
The deployment fails on timeout waiting the chart is completely deployed.
It should be introduced by #8338 that does not honor the default
wait
valuefalse
. Looks like explicit--timeout
enables--wait
switch as well.Error Log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: