Improved Kubernetes Await Logic
Kubernetes’ eventual consistency model is incredibly powerful but can also pose a challenge for workflows that provision complex applications and infrastructure. Sometimes you really just need to know that a step has succeeded before being able to proceed.
One of the advantages of using Pulumi to manage Kubernetes resources is that it natively and intuitively handles this problem of readiness and dependencies, giving you an easy way to express complex rollout relationships in the programming language of your choice.
The latest v4.18.0 release of the Pulumi Kubernetes provider includes a number of bug fixes and enhancements to the way Pulumi Kubernetes handles resource readiness:
- More helpful errors are surfaced when a resource doesn’t become ready in time.
- A new
pulumi.com/deletionPropagationPolicy
annotation enables faster deletions. - A new
pulumi.com/waitFor
annotation allows for custom readiness criteria. - And a new experimental feature enables readiness criteria for all resources.