Hi,
Like Deployment Resource, StatefulSet rollout status should be successful before kubernetes provider decides that it is successfully deployed. Is there any obstacles no to use same kind of strategy used in Deployment Resource(waitForDeploymentReplicasFunc)? If not, I would gladly to contribute with a similar implementation.
Please list the resources as a list, for example:
Provider should wait before StatefulSet is deployed&running state.
Provider successfully terminates saying that StatefulSet is created successfully.
Please list the steps required to reproduce the issue;
terraform apply with a StatefulSet resource.Running at GKE
Alternatively and more generally it'd be nice to depend on the success of some script/command, like pre-start hook
Related, I'd like a way to avoid waiting for rollouts. I have some Deployments and StatefulSets that can take 30m to fully update, but I don't want terraform apply to wait that long. In other words, I'd like either a per-resource property or some provider-wide option to skip the whole waitForDeploymentReplicasFunc step, and exit with the status of the Patch.
This issue has been open 180 days with no activity. If this issue is reproducible with the latest version of the provider and with Terraform 0.12, please comment. Otherwise this issue will be closed in 30 days.
Yes, it is still relevant.
I've proposed an approach here: https://github.com/terraform-providers/terraform-provider-kubernetes/pull/842
It doesn't do the StatefulSet waiting, but it does offer the control over this.
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
Most helpful comment
Related, I'd like a way to avoid waiting for rollouts. I have some Deployments and StatefulSets that can take 30m to fully update, but I don't want
terraform applyto wait that long. In other words, I'd like either a per-resource property or some provider-wide option to skip the wholewaitForDeploymentReplicasFuncstep, and exit with the status of the Patch.