Skip to main content
Version: 13.x (Current)

Create and Manage Sidecars

What is a Sidecar

A sidecar is a secondary container that runs together with the main application container inside a Pod.
In your Console Projects, sidecars can be added to microservices to enhance or extend their functionality by providing additional features such as security, logging or data synchronization.

To better understand the difference between main and sidecar containers, check out Microservice Containers.

Managing your Sidecars

From the Design area, you can manage all sidecars configurations for your microservices from the dedicated Sidecars section. You can also configure them directly from the Sidecar detail page inside the microservice the sidecar is attached to.

Sidecars overview section

To have an overview of all sidecars in your Project and the microservices they are attached to, head over to the Sidecars section.

Sidecars overview

For each sidecar, you can see all microservices that use it, as well as some information about the sidecar itself, such as:

  • Docker image
  • CPU and Memory resources
  • ConfigMaps and Secrets

By clicking on the Edit button inside the table, you can update the sidecar resources configuration for a specific microservice.

Edit sidecar drawer

If you want to view the sidecar configuration in detail, use the View sidecar configuration button or click on the the sidecar name in the table row to go to its detail page inside the microservice it is attached to.

info

Some sidecar configurations cannot be directly modified in this page. This is the case of Special sidecars that are managed by specific Console sections.

Create sidecar

You can add a new sidecar to your services by choosing an already existing sidecar configuration from the Marketplace or by specifying a docker image. To do this, select your best fitting solution from the Create sidecar dropdown.
From the creation form you can select multiple services to which the sidecar will be added.

Create sidecar from docker image

tip

It is possible to define and publish sidecar resource definitions on the Marketplace. Find out more in the Publish your sidecar to the Marketplace guide.

Delete sidecar

You can remove a sidecar from a microservice by clicking on the Delete button inside the table row.

caution

If the sidecar is used only by one microservice, removing it from the microservice will result in completely deleting the sidecar from the Project.

Delete last sidecar

Alternatively you can entirely remove the sidecar from the Project and from all microservices that are using it. This action can be done from the Advanced tab.

Bulk delete sidecar

Microservice sidecars

Another way to view and manage sidecars configurations is from the microservice detail page.
From here you can find an overview of all the containers configured for the microservice (both main and sidecar containers) and configure the specific sidecar container configuration for your needs.

Service containers