You can use CCI to quickly create pods for running workloads. On the CCI console, you can view details about all pods, such as basic information, container list, storage volumes, and events. In addition, you can use remote terminals to access pods. You can also delete pods.
Custom domain name images of the SWR enterprise edition cannot be used to create workloads.
Parameter |
Description |
---|---|
Container Group Name |
|
Namespace |
Namespace that the container group belongs to. |
(Optional) Description |
Enter a description, which cannot exceed 250 characters. |
CPU Architecture |
x86 |
Pod Type |
General-computing |
vCPUs |
Select a value from 0.25 to 64. |
Memory |
Select the memory based on the selected vCPUs. |
(Optional) Data Storage |
Select a storage volume type and enter a storage volume name.
|
Parameter |
Description |
---|---|
Container Name |
|
Image |
Select a container image. CAUTION:
Custom domain name images of the SWR enterprise edition cannot be used to create workloads. |
Image Version |
Select a container image version. |
vCPUs |
Specify the vCPUs. The value cannot exceed that in the pod flavors. |
Memory |
Specify the memory. The value cannot exceed that in the pod flavors. |
Parameter |
Description |
---|---|
Lifecycle |
Based on Kubernetes, CCI provides containers with lifecycle hooks, which enable containers to run code triggered by events during their management lifecycle. For example, if you want a container to perform a certain operation before it is stopped, you can register a hook. CCI provides the following lifecycle hooks:
|
Health Check |
Container health can be checked regularly when the container is running. CCI supports the following types of probes:
|
Environment Variables |
Environment variables affect the way a running container will behave. You can update them after deploying the workload. |
Data Storage |
Volumes can be mounted to containers to read data from files or store data files persistently. To mount a volume to a container, add the volume to the pod first. |
Security Settings |
Specify a user ID for all the containers to run with. For example, enter 0 to run as user root. |