Await logic with Statefulsets doesn't work #1974
Labels
area/await-logic
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
Milestone
What happened?
If you define a statefule set exactly as in the StatefulSet documentation, the service never becomes healthy:
This is because statefulesets have a required input of
serviceName
and we pass the service auto generated name. The service gets created first (unlike most deployment examples) and there are no healthy pods to target, causing an infinite loop:Steps to reproduce
Create a Pulumi program like so:
Expected Behavior
Expected the program to provision
Actual Behavior
The pods never become healthy, and the program times out
Versions used
Additional context
You can work around this issue by adding the
skipAwait
annotation:Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: