1

I want to deploy a microservices application with multiple microservices and two operators for external applications.

The microservices are consolidated under the helm chart. The external stateful applications like Cassandra DB and Kafka have an operator.

How do I combine and manage the lifecycle of the entire stack? What's the recommended way to do this deployment?

Thanks Guru

Guru
  • 53
  • 6

1 Answers1

1

You can use a helm-based operator which can be scaffolded out using an existing helm chart. https://sdk.operatorframework.io/docs/building-operators/helm/

asmacdo
  • 553
  • 1
  • 3
  • 13
  • I need to deploy both helm charts and operators. How do I do that? – Guru Nov 18 '21 at 08:09
  • If you use operator-sdk to scaffold a lightweight helm-based operator from the existing helm charts, then you are dealing with only operators, which means that you'll be able to deploy everything using kubernetes custom resources. – asmacdo Nov 19 '21 at 17:37
  • Thanks. How do I deploy multiple operators? Can I use Operator Lifecycle manager or any other tool to deploy operators or orchestrate the deployment of other operators from the main orchestrating operator by writing custom code? – Guru Nov 21 '21 at 04:55
  • Yes, OLM can help here. For complex situations, some folks also create another operator that acts as a wrapper. Admin manages it with a single CR, and when the wrapper operator reconciles it creates the CRs that trigger other operators. – asmacdo Nov 22 '21 at 15:28