Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the reconciliation loop to a model where each run executes as a k8s Job #78

Closed
metral opened this issue Aug 11, 2020 · 4 comments
Closed
Assignees
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed

Comments

@metral
Copy link
Contributor

metral commented Aug 11, 2020

Problem description

Currently, the reconciliation loop is shared in-process on the operator.

Ideally, a separate Job/Pod would be used instead per loop to avoid shared context issues across loops and runtimes.
See the design doc.

@EronWright
Copy link
Contributor

Using a Pod to execute pulumi up may unlock some interesting capabilities. Some example:

  1. mounting of stack-specific volumes to act as an alternate source for the program sources, program data, or even backend state.
  2. Stack-specific service accounts. This would allow us to harden the permissions granted to the operator itself.
  3. Clean separation of log output between the operator and the program.

@viveklak
Copy link
Contributor

Note that if we support #122 we will have to ensure the secret injection mechanism can mount secrets into the job/pod encapsulating the stack.

@cleverguy25
Copy link

Added to epic #586

@EronWright EronWright self-assigned this Oct 23, 2024
@EronWright EronWright added the resolution/fixed This issue was fixed label Oct 23, 2024
@EronWright
Copy link
Contributor

Good news everyone, we just release a preview of Pulumi Kubernetes Operator v2. This new release has a whole-new architecture that uses pods as the execution environment.

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.
cc @metral @liamawhite @sullivtr @bgagnon @mike-chen-samsung @Alegrowin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
No open projects
Status: Done
Development

No branches or pull requests

6 participants