Parameter | Description |
Name | Enter the name of the workload based on the on-screen prompts. The name must be unique within the same namespace. |
Namespace | Select a namespace to deploy the workload in. You can select a custom namespace or a Kubernetes built-in namespace. For a description of Kubernetes built-in namespaces, see Namespace overview. |
Number of instances | You can specify this parameter only for Deployments and StatefulSets. Enter the number of pod instances for the workload. |
Label | Enter the labels of the workload, which correspond to the label in Kubernetes. A label is a key-value pair used to identify a workload. It helps Kubernetes quickly search for target workloads when it is used with the selector. For example, service.istio.io/canonical-revision:latest. Click Add new, and enter the key and value based on the on-screen prompts. |
Annotation | Enter the annotation of the workload, which corresponds to the annotation in Kubernetes. It is primarily used to record additional information about application deployment, security policy, and scheduling policy. It is not used to identify or distinguish resources. Click Add annotation, and enter the key and value based on the on-screen prompts. |
Computing power type | Only Deployments, StatefulSets, Jobs, and CronJobs in managed clusters support this parameter. Select infrastructure resources where the workload is deployed. Valid values:
|
Synchronize time zone | After you enable this feature, the container uses the local time zone of the node, which is the Central Standard Time (CST) time zone. |
Log collection | This parameter is displayed after you select Volcengine Container Instance for the Computing power type parameter. You need to enable this feature to collect VCI logs. For detailed instructions, see Collecting VCI logs by using TLS. |
Parameter | Description |
Container name | Enter a container name based on the displayed naming rules. The container name must be unique under the same workload. |
Container image | Select the image used by the container. You can use a third-party image or an image from Container Registry (CR).
tip
|
Image tag | Select the version of the image. If you do not select a version, the latest version is pulled by default. warning
|
Image pull policy | Select a policy for pulling container images. Valid values:
|
Image key | This feature is not enabled by default. After you enable this feature, you need to configure a CR key. Select an existing repository key or click Create repository key. In the VKE console, add the CR key based on the following descriptions.
warning You need to specify this parameter if you do not use the secret-free add-on and need to pull a private image. |
Full-chain Application Performance Management | Select Enable to enable the workload application performance monitoring feature and specify the related parameters. For more configuration details, see APMPlus.
tip If you do not specify the Monitor Service Name parameter, the system will use the workload name as the monitoring service name. |
ResourceQuota | You can configure the upper and lower limits for CPU and memory at the container level based on your business requirements to ensure the normal operation of containers. If you do not specify this parameter, it indicates that the container ResourceQuota is not limited.
tip
|
Privileged container | This feature is disabled by default. After you enable the feature, privileged containers can access devices on the host. Containers deployed on Linux systems can control the network stack or access devices. |
Init container | This feature is not enabled by default. After you enable the feature, this container will be set as an init container. Init containers are containers that run before application containers in a pod. Init containers can include tools, such as python and dig, and code used only during the installation process. This prevents redundant deployment in application containers and enhances the security of application images. tip Init containers do not support setting post-start processing and pre-stop processing in lifecycle management, and do not support enabling health checks. |
Stdin | You can specify this parameter only for Deployments and StatefulSets. After this feature is enabled, a buffer is allocated for the standard input (Stdin) of the container during the runtime of the container. |
TTY | You can specify this parameter only for Deployments and StatefulSets. After you enable this feature, a terminal is allocated to the container, and Stdin needs to be selected. |
Parameter | Description |
Custom | You can enter variable names and variable values to create custom environment variables. |
ConfigMap | You can reference part or all of the variables in a ConfigMap. When you reference part of the variables, you can create one environment variable for a single key of a rule. |
Secret | You can reference part or all of the variables in a secret. When you reference part of the variables, you can create one environment variable for a single key of a rule. |
Instance field | You can reference the values of instance fields to create environment variables.
|
Container resources | You can reference the fields of the container as environment variables.
|
Parameter | Description |
ConfigMap | You can create data volumes for all or part of the data in a ConfigMap. When you create PersistentVolumes (PV) for part of the data, you can configure multiple data items, which need to be separated by semicolons (;). For example, cm1:path1;cm2:path2. |
Secret | You can mount part or all of the data in a secret. When you create PVs for part of the data, you can configure multiple data items, which need to be separated by semicolons (;). For example, cm1:path1;cm2:path2. |
PersistentVolumeClaim | Select a created PersistentVolumeClaim (PVC) in the current workload namespace, and specify a data volume name. |
Temporary directory | Create a data volume name for the temporary directory. |
Host directory | Create a data volume for a directory in the host. |
Action | Description |
Select a data volume | Select the data volume named in the Add volume step. |
Specify a mount path | Select the container path to which storage should be mounted. |
Select the path on the volume for mounting |
|
Assign read/write permissions | Define the read and write restrictions for the path of the mounted volume. |
Parameter | Description |
Run command | Enter the command to run before the container starts. |
Run parameter | Enter the parameters of the command to run before the container starts. |
Post-startup processing | Enter the command to run after startup. |
Pre-stop processing | Enter a pre-stop processing command. |
Parameter | Description |
Check method | Select a check method. Valid values:
warning You need to enter each command in a separate text box. Click Add to add a text box.
|
Time setting | Specify the time parameters for the check. Valid values:
|
Threshold setting | Configure the check result threshold. The following information is included:
|
Parameter | Description |
Instance family type | Select a type of VCI instance families. You can create a workload by using the specifications of the system default instance family or the specifications of a custom instance family. |
Instance family | This parameter is required if you select Specify instance family. Select one or more specific VCI instance families and corresponding instance specifications. For related information, see VCI instance types. |
Number of instances | The number of pod instances in the workload, which are used to validate the available VCI ResourceQuota and inventory for the workload.
|
Pod subnets | Configure the VCI subnet. Valid values:
|
Parameter | Description |
Image cache | [Beta · Apply for Trial] This parameter is displayed if you set the Computing power type parameter to Volcengine Container Instance in the Basic information step. The system displays whether the image has been cached based on the container image that you select.
|
Elegant exit | You can specify this parameter only for Deployments, StatefulSets, and DaemonSets. The grace period refers to the buffer period before an instance is terminated. Default value: 30 seconds. When the value is set to 0, it indicates that the instance is immediately deleted. |
Update policy | You can specify this parameter only for Deployments, StatefulSets, and DaemonSets. Configure the instance update policy. Valid values:
|
Maximum unavailable | This parameter needs to be specified only when the workload type is Deployment or DaemonSet and the Rolling update policy is selected. Specify the minimum number of available instances (pods) in the workload during the rolling update scale-in process. You can specify the maximum proportion or maximum number of unavailable pods. When you specify a proportion, the calculation result is converted to an absolute value, and the decimal part is removed. Maximum unavailable and Maximum excess cannot both be set to 0. |
Maximum excess | This parameter needs to be specified only when the workload type is Deployment and the Rolling update policy is selected. Specify the maximum number of available instances (pods) in the workload during the rolling update process. You can specify the maximum proportion or maximum number of pods. When you specify a proportion, the calculation result is converted to an absolute value, and the decimal part is removed. Maximum unavailable and Maximum excess cannot both be set to 0. |
Instance label | Add labels to pods, which can help Kubernetes search for target pods when used with label selectors. Click Add instance label and enter a key-value pair that complies with the on-screen requirements. |
Instance annotation | Enter annotations for pods. Click Add instance annotations and then enter a key-value pair that complies with the on-screen requirements. The annotations in Kubernetes are primarily used to record additional information about application deployment, security policy, and scheduling policy. They are not used to identify or distinguish resources. |
DNS policy | Configure the Domain Name System (DNS) policy of the instance. Valid values:
|