Manage Container Configuration
Learn how to change the configuration of your containers in Humanitec.
Humanitec uses a base configuration for all Containers. This configuration is defined in the Workload Profile. Your DevOps team can configure it depending on the general requirements of your team. However, you can also adjust the Container Configuration for individual Workloads as needed. This section explains how.
You can find the Container Configuration on the Workload Details Screen. You can adjust the Container Configuration separately for each Container in your Workload. You can define and change the following elements:
- Container probes: The
Liveness
and theReadiness
**** probe are used to determine if the container is alive and ready to accept requests. - Assign Resources: The maximum and minimum resource requirements for
CPU
andMemory
. By default these are set to:- CPU: min 0.025 and max 0.250
- Memory: min 64 MB and max 256 MB.
- Container overrides: Alternative Commands and/or Arguments for the container.
- Commands This overrides, or adds if it doesn't exist, the docker image's
ENTRYPOINT
instruction. For more information about theENTRYPOINT
instruction see Docker's documentation. - Arguments This overrides, or adds if it doesn't exist, the docker image's
CMD
instruction. For more information about theCMD
instruction see Docker's documentation.
The container overrides fields expect a YAML list.
- python
- '-c'
- print("Hello, World")
Last modified 4mo ago