Volcengine Kubernetes Engine
Parameter | Description |
Parameter | Description |
Orchestration template | |
Application templates | Select a Chart version of agent-sandbox. We recommend the latest version. |
Parameter configuration | The YAML file content of the VCI Agent Sandbox controller. Click the edit icon next to values.yaml to view the YAML file content. tip For the descriptions of the YAML file, see the values.yaml file content and parameter descriptions section of this topic. |
Name | Specify a custom name for the application based on the on-screen naming rules. |
Deployment environment | |
Cluster type | The type of cluster for which you want to deploy agent-sandbox. Select Managed version. |
Cluster | Select the VCI-based cluster that you created in Prerequisites. |
Namespace | The namespace where the agent-sandbox application is deployed in the target cluster. |
Protocol | Read and understand the agreement before selecting it. |
Parameter | | | Type | Default value | Description |
Parameter | | | Type | Default value | Description |
userConfig | ak | - | String | None | Enter the API access key (AK and SK) of your Volcano Engine root user to grant VCI-related resource permissions. For instructions on obtaining the AK and SK, see Access key. warning Make sure that your Volcano Engine root user (including IAM users) has been configured with the VKEFullAccess system preset policy, or that the custom policy includes the following minimum set of authorization items (Actions). This ensures that the current account can access and manage resources by using VCI Agent Sandbox:
|
| sk | - | String | None | |
| region | - | String | cn-beijing | The region where the cluster belongs. It must be consistent with that of the selected VCI-related cluster. |
| vciHost | - | String | open.volcengineapi.com | The service address that corresponds to the region where the cluster belongs. For detailed descriptions, see Service addresses. |
| deployNodeType | - | String | Node | The deployment mode of the agent-sandbox application. Valid values:
|
namespace | create | - | Boolean | true | Whether to create a namespace with this Chart:
|
| name | - | String | agent-sandbox-system | The name of the namespace in which the controller is running. |
controller | enableExtensions | - | Boolean | true | Whether to enable extension features such as Snapshot, Commit, SandboxWarmPool, SandboxTemplate, and SandboxClaim.
|
| defaultSandboxService | - | Boolean | true | When you do not specify whether to create a Service for the Sandbox CR, this controller parameter determines whether to create a Service. Valid values:
|
| replicaCount | - | Integer | 1 | The number of controller pod replicas. When you configure multiple replicas, they need to be used together with the leaderElect parameter. |
| resources | requests.cpu | String | 500m | The CPU and memory requests of the controller. We recommend adjusting the specifications of the controller based on your business requirements. |
| | requests.memory | String | 512Mi | |
| image | registry | String | None | The controller image repository. Do not update the configurations. |
| | image | String | agent-sandbox-controller | The controller image name. Do not update the configurations. |
| | tag | String | v0.4.6-vke.1 | The controller image tag. Do not update the configurations. |
| | pullPolicy | String | Always | The image pull policy. Do not update the configurations. |
| leaderElect | - | Boolean | TRUE | Whether to enable the leader election mechanism.
warning When you deploy the sandbox with multiple replicas (replicaCount > 1), the value needs to be set to true to prevent resource contention caused by multiple replicas executing business logic simultaneously. |
| leaderElectionNamespace | - | String | "" | The namespace where leader election resources are located. If it is left empty, the namespace will be automatically detected. |
| clusterDomain | - | String | cluster.local | The Kubernetes cluster domain, which is used to generate the Service FQDN. We recommend keeping the default value. |
| kubeApiQps | - | Float | 100 | The rate limiting parameter for calling the Kubernetes API, which is used to prevent the management add-on from placing excessive load on the API server. |
| kubeApiBurst | - | Integer | 200 | |
| sandboxConcurrentWorkers | - | Integer | 32 | The maximum number of concurrent reconciliations for the Sandbox controller. |
| sandboxClaimConcurrentWorkers | - | Integer | 32 | The maximum number of concurrent reconciliations for the SandboxClaim controller. |
| sandboxWarmPoolConcurrentWorkers | - | Integer | 32 | The maximum number of concurrent reconciliations for the SandboxWarmPool controller. |
| sandboxTemplateConcurrentWorkers | - | Integer | 32 | The maximum number of concurrent reconciliations for the SandboxTemplate controller. |
| enableTracing | - | Boolean | false | Whether to enable the OpenTelemetry OTLP tracing solution.
|
| enablePprof | - | Boolean | false | Whether to enable the CPU Profiling Endpoint on the Metrics Server, which is an HTTP endpoint for accessing CPU performance analysis data.
|
| enablePprofDebug | - | Boolean | false | Whether to enable all Pprof Endpoints.
|
| pprofBlockProfileRate | - | Integer | 1000000 | The Block Profile sampling rate in Pprof Debug mode. |
| pprofMutexProfileFraction | - | Integer | 10 | The Mutex contention sampling rate in Pprof debug mode. |
| extraArgs | - | List | [] | Pass additional startup flags, such as Zap logging parameters and other flags that are not individually abstracted. |
| nodeSelector | - | Map | {} | The node selector for controller Pod. |
| tolerations | - | List | [] | The toleration for the controller Pod. |
| affinity | - | Map | {} | The controller Pod affinity rule. |
e2bConfig | enableE2BServer | - | Boolean | false | Specify whether to enable the E2B service.
|
| serviceAccountName | - | String | agent-sandbox-controller-e2b | The service account name. We recommend keeping the default value. If you want to specify a custom name, make sure that the name format meets the requirements of Kubernetes. |
| domain | - | String | e2b.com | The domain name suffix of the E2B service. It will be passed to the control plane and data plane. This will affect domain name concatenation and access behavior. We recommend keeping the default value. After deploying the application template, configure ALB Ingress rules in the VKE cluster to point e2b.com to the control plane workload and *.e2b.com to the data plane workload. For detailed operations, see the What to do next section in this topic. tip
|
| controlPlane | name | String | agent-sandbox-control-plane | The add-on name that corresponds to the control-plane. We recommend keeping the default value. |
| | serviceName | String | agent-sandbox-control-plane | The name of the control-plane service. We recommend keeping the default value. |
| | replicas | Integer | 1 | The number of replicas for control-plane. You can adjust the number of replicas based on the file size and file/code operation frequency. |
| | resources.requests.cpu | String | 500m | The control-plane CPU requests. You can adjust CPU requests based on the file size and file/code operation frequency. |
| | resources.requests.memory | String | 512Mi | The control-plane memory requests. You can adjust memory requests based on the file size and file/code operation frequency. |
| | enableAuth | Boolean | true | Specify whether to enable control-plane authentication.
|
| | adminKey | String | "" | The E2B API key. You can specify a custom string or leave it unspecified. If you do not specify it, a random API key will be generated and saved in the Secret named e2b-key-store under the agent-sandbox-system namespace. |
| | idleTimeout | String | 600s | The idle connection timeout. It is a Go duration string. We recommend keeping the default value. |
| | writeTimeout | String | 600s | The response write timeout. It is a Go duration string. If the value is small, long-running requests may be interrupted. We recommend keeping the default value. |
| | sandboxTimeout | String | 600s | The Sandbox lifecycle timeout. It is a Go duration string. If the value is small, APIs used for creating or modifying a Sandbox may time out before completion. We recommend keeping the default value. |
| | restClientQps | Integer | 50 | The QPS limit for Kubernetes API access. We recommend keeping the default value. |
| | restClientBurst | Integer | 100 | The maximum burst requests to the Kubernetes API. We recommend keeping the default value. |
| | service.port | Integer | 8081 | The control-plane service port. We recommend keeping the default value. |
| | image.name | String | control-plane-gateway | The control-plane image name. Do not update the configurations. |
| | image.tag | String | v0.4.6-vke.1 | The control-plane image tag. Do not update the configurations. |
| | image.pullPolicy | String | Always | The control-plane image pull policy. Do not update the configurations. |
| dataPlane | name | String | agent-sandbox-data-plane | The name of the data-plane add-on. We recommend keeping the default value. If you want to specify a custom name, make sure that the name format meets the requirements of Kubernetes. |
| | serviceName | String | agent-sandbox-data-plane | The data-plane service name. We recommend keeping the default value. |
| | replicas | Integer | 1 | The number of replicas for data-plane. You can adjust the number of replicas based on the file size and file/code operation frequency. |
| | resources.requests.cpu | String | 500m | The CPU requests of data-plane. You can adjust CPU requests based on the file size and file/code operation frequency. |
| | resources.requests.memory | String | 512Mi | The data-plane memory requests. You can adjust memory requests based on the file size and file/code operation frequency. |
| | service.port | Integer | 8080 | The data-plane service port. We recommend keeping the default value. |
| | image.name | String | data-plane-gateway | The name of the data-plane image. Do not update the configurations. |
| | image.tag | String | v0.4.6-vke.1 | The data-plane image tag. Do not update the configurations. |
| | image.pullPolicy | String | Always | The data-plane image pull policy. Do not update the configurations. |
| agentRuntime | image.name | String | agent-runtime | The agent-runtime image name. Do not update the configurations. |
| | image.tag | String | v0.0.4 | The agent-runtime image tag. Do not update the configurations. |
crdUpgrade | enabled | - | Boolean | true | Whether to enable the CRD upgrade Hook Job.
|
| image | tag | String | v0.1.0-vke.1 | The image tag for the CRD upgrade Job. Do not update the configurations. |
| | pullPolicy | String | Always | The image pull policy for the CRD upgrade Job. Do not update the configurations. |
Parameter | Description |
Parameter | Description |
Forwarding configuration | |
Custom forwarding rules | Configure the following two custom forwarding rules:
|