https://pulumi.com logo
#general
Title
# general
h

hundreds-portugal-17080

09/01/2019, 8:38 PM
Hello, when I perform pulumi up to launch kubernetes and some pods, if the pod goes into retry due to some errors, pulumi up never exits. is there a way to set number of retries or timeout? It took 52 minutes and pulumi exited with the stack failure and the pod actually retried 12 times.
w

white-balloon-205

09/02/2019, 2:26 AM
h

hundreds-portugal-17080

09/02/2019, 4:14 AM
Thank you. This is exactly I am looking for. I will try this out
b

best-xylophone-83824

09/02/2019, 3:59 PM
@white-balloon-205, there is a progresDeadlineSeconds which is specifically targeting waiting usecase: it specifies how long one should wait to any progress on deployment rollout, which itself translates into how much time to wait for pods to become ready
😮 1
g

gorgeous-egg-16927

09/03/2019, 3:24 PM
Actually now you can just set
customTimeouts
on the
opts
for any resource. The annotation will still work, but customTimeouts works across all the providers. https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#CustomResourceOptions-customTimeouts
As of the
1.0.0-beta.2
release
b

bitter-dentist-28132

09/03/2019, 4:38 PM
@best-xylophone-83824 where is that? it's not a custom timeout
b

best-xylophone-83824

09/03/2019, 5:49 PM
@bitter-dentist-28132, that is in Deployment spec
b

bitter-dentist-28132

09/03/2019, 6:09 PM
oh! thanks for the tip