Version:
Domino v5x
What's a sidecar in general
A sidecar is a design pattern in which an extra container is placed into a pod beside the main container in kubernetes. A sidecar container's principal goal is to give extra functionality or support to the main container without directly affecting its functioning. Sidecar containers share the same lifespan and resources as the main container, allowing them to function in tandem.
Sidecar containers can conduct logging, monitoring, service discovery, proxying, authentication, and other functions. They aid in the modularization and decoupling of various capabilities, allowing the primary container to be simpler and more focused on its core purpose.
This article describes how to change the values of the 'nginx' sidecar in Domino:
What values can we change:
Nginx CC Settings | Default | Description |
com.cerebro.domino.computegrid.kubernetes.apps.nginx.imageName |
Nginx container image |
|
com.cerebro.domino.computegrid.kubernetes.apps.nginx.cpusRequested | 0.01 | Nginx container cpu request |
com.cerebro.domino.computegrid.kubernetes.apps.nginx.cpuLimit | 0.1 | Nginx container cpu limit |
com.cerebro.domino.computegrid.kubernetes.apps.nginx.memoryRequestedMiB | 50 | Nginx container memory request |
com.cerebro.domino.computegrid.kubernetes.apps.nginx.clientBodyMaxSizeMiB | 25 | Value of client_max_body_size setting in nginx.conf |
Steps to apply the changes
As a pre-requisite, you must have Admin privileges to Domino in order to make any of the above Central Config changes.
> Log into the Admin section of Domino (https://<DEPLOYMENT URL>/admin)
> Select Advanced > Central Config
> Click Add record
> Select record type as Common and add in your CC key as displayed above and the new value
> Click Create
Bringing the change into effect
To bring the new sidecar changes into effect, the frontend services will have to be restarted, this can be done from the Admin UI (Admin > Advanced > Restart Services), just mention the need for the restart and click Restart Services, this will do a rollout restart of the frontend nucleus and dispatcher pods terminating existing pods and creating new ones to ensure that the latest changes are applied to the application running inside the pods.
Comments
0 comments
Please sign in to leave a comment.