quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

Consider offer a Kubernetes operator for Quarkus applications #3053

Open emmanuelbernard opened 5 years ago

emmanuelbernard commented 5 years ago

A operator could update the application based on new framework minor or even micro changes based on policy (only micro, automated vs manual etc). This would be based on the ability for Quarkus to have a provisioning phase.

Also an operator can reload the application based on ConfigMap change. If the ConfigMap changes have a build time property, have a policy to force a recompilation for redeployment or a warning. An operator would be preferable than embedding this logic in the application itself for "automated restart" and more inline with Quarkus philosophy.

Something to do on the quarkus:dev mode with the operator?

Some more ideas can be taken from the Snowdrop team effort https://github.com/snowdrop/component-operator

cmoulliard commented 5 years ago

Some more ideas can be taken from the Snowdrop team effort

Our operator could be easily extended to support Quarkus as we already can deploy SpringBoot, Vert.x, Thorntail or even NodeJS if we use s2i. More images / deployment modes should be supported in the future

gastaldi commented 5 years ago

Also an operator can reload the application based on ConfigMap change.

This is a feature that https://github.com/fabric8io/configmapcontroller does really well, perhaps use that instead?

machi1990 commented 5 years ago

What's the plan on this one? I am really curios about it @emmanuelbernard @cmoulliard

maxandersen commented 4 years ago

I've opened a proposal for epic on making it easy to use quarkus for configuring and writing a kubernetes native operator - slightly different scope than this; but should definitely consider the same capabilties of updating etc.

geoand commented 3 years ago

It makes sense to mention that such an operator could now be written in Quarkus due to the existence of https://github.com/quarkiverse/quarkus-operator-sdk

cc @metacosm