pulumi / pulumi-kubernetes-operator

A Kubernetes Operator that automates the deployment of Pulumi Stacks
Apache License 2.0
226 stars 54 forks source link

Improved operator status introspection through additional events and conditions #240

Open viveklak opened 3 years ago

viveklak commented 3 years ago

Hello!

Issue details

While #235 provides some starting points for stack status introspection through events, the experience, especially on the open source backends is less than ideal. We should externalize details about the current state of the stack through extensive use of the events and condition API instead to avoid having users drop to debug logging to track status.

Affected area/feature

Operator usability

squaremo commented 2 years ago

All else being equal, I think it's wise to work with the conventions assumed by kstatus: https://pkg.go.dev/sigs.k8s.io/cli-utils/pkg/kstatus#section-readme

This amounts to:

EronWright commented 2 weeks ago

Good news everyone, we just released a preview of Pulumi Kubernetes Operator v2. This new release has a whole-new architecture that uses pods as the execution environment. A lot has been improved in logging and status reporting, but the Stack API is largely unchanged and so further improvement may be warranted. The observedGeneration field is now handled correctly.

Please read the announcement blog post for more information: https://www.pulumi.com/blog/pulumi-kubernetes-operator-2-0/

Would love to hear your feedback! Feel free to engage with us on the #kubernetes channel of the Pulumi Slack workspace.