https://pulumi.com logo
Title
m

most-lighter-95902

12/05/2022, 4:46 PM
Hi, I’m trying to create
pvc
->
deployment
(sequentially) in two separate pulumi stacks in CI/CD. My
StorageClass
has binding mode of
WaitForFirstConsumer
which means the first
pvc
stack is stuck at PENDING state, which means the pipeline fails before it attempts to create the
deployment
. Is this a correct use case for
skipAwait
so that
deployment
stack will run before
pvc
stack times out?
v

victorious-church-57397

12/06/2022, 1:11 PM
is there a reason you're creating the pvc for the deployment in a separate stack? we tend to bundle our resources logically where possible. we tend to have a base stack which would provision our vpc, networking config, account level config etc. Then we create an eks cluster in one stack along with the controllers to provision ebs storage classes in one stack, then each workload we want to deploy in the cluster we do from its own stack, so the pvc is creatd along with the deployment
m

many-telephone-49025

12/07/2022, 7:49 AM
Hi Seungchan, yes! 😊