pulumi-kubernetes-operator icon indicating copy to clipboard operation
pulumi-kubernetes-operator copied to clipboard

Consider building separate containers for each runtime

Open mnlumi opened this issue 2 years ago • 1 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

The size of the kubernetes-operator container is currently over 1GB compressed and 4.64GB uncompressed. It currently contains all available runtimes. It would be beneficial to publish multiple containers that are smaller in size and only contain the desired runtime.

Affected area/feature

mnlumi avatar May 12 '23 23:05 mnlumi

I believe that this feature would depend on running the deployment in a separate pod: https://github.com/pulumi/pulumi-kubernetes-operator/issues/78

EronWright avatar Apr 08 '24 17:04 EronWright

Added to epic https://github.com/pulumi/pulumi-kubernetes-operator/issues/586

cleverguy25 avatar Aug 02 '24 18:08 cleverguy25

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, and each stack may use a separate image. We do still use the "kitchen-sink" pulumi/pulumi image by default, but it is possible to use the language-specific images to optimize the pull. It is also now possible to customize a stack's image, e.g. to preinstall dependencies.

Be aware, there are some gaps in the story of official pulumi images:

  • https://github.com/pulumi/pulumi-docker-containers/issues/308
  • https://github.com/pulumi/pulumi-docker-containers/issues/297

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 @mnlumi @JonCholas @diablo39 @rodolfototaro @UnstoppableMango

EronWright avatar Oct 23 '24 21:10 EronWright

@EronWright do we have ETA to move from beta to GA? I can't consider it fixed until I have a stable version I can put in production, we use pulumi-operator to provide "deployment" services to our customers (devs)

JonCholas avatar Oct 23 '24 22:10 JonCholas