Add support for custom sidecar containers

Description

Sidecar container pattern allows to modify application functionality  and capabilities without changing the main container. It is done by deploying additional containers in the application pod.

Adding this capability is requested by our internal and external users:

  1. Support - to run debugging tools

  2. Engineering - get the logs in one place

  3. Customers - run monitoring sidecar containers of their choice

 

Stories:

As a user, I want to run sidecar containers for any operator component.

  • ReplicaSets

  • Mongos

  • Config Servers

Example of the implementation:

https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/pull/478

Environment

None

Smart Checklist

Activity

Ivan Pylypenko February 18, 2021 at 7:25 PM

Hi
Everything works as expected

Done

Details

Assignee

Reporter

Labels

Time tracking

4h logged

Fix versions

Priority

Smart Checklist

Created November 4, 2020 at 8:33 AM
Updated March 5, 2024 at 5:03 PM
Resolved March 8, 2021 at 4:49 PM