https://pulumi.com logo
i

important-leather-28796

07/08/2019, 7:59 PM
@creamy-potato-29402 I want to run a piece of imperative code to purge cache after k8 Deployment/Service/Ingress ready. I saw your writeup on kubespy and I’m interested in doing something with similar conditions at the end of a
pulumi up
. I was thinking a polling call to
pulumi.all
on each resource’s status. Is there already some sample code out there I can look at perhaps? Or any thoughts for/against this approach?
What would be the equivalent check of
kubectl rollout status deployments/web
?
or should I just shell out and exec this prior to running my imperative code?