Volcengine Kubernetes Engine
Resource name | Resource type | Description |
Resource name | Resource type | Description |
agent-sandbox-controller | Deployment | This resource provides the add-on controller capabilities. It reconciles resources such as Sandbox, SandboxClaim, SandboxWarmPool, and SandboxTemplate, and manages the sandbox lifecycle. |
agent-sandbox-control-plane | Deployment / Service | This resource is created after E2B Server is enabled. It provides the control plane service for the E2B-compatible API and uses port 8081 by default. |
agent-sandbox-data-plane | Deployment / Service | This service is created after E2B Server is enabled. It provides the data plane service for the E2B-compatible API and uses port 8080 by default. |
e2b-key-store | Secret | This resource stores the automatically generated administrator key when control plane authentication is enabled and no administrator key is manually configured. |
Parameter | Description |
Parameter | Description |
Deployment configuration | |
Deployment mode | This parameter is displayed only for clusters for which the vci-virtual-kubelet add-on is installed. You can deploy the add-on on the following two types of nodes.
|
Access Credentials | |
Access Key | Enter the API access key (AK and SK) of your Volcano Engine root user to authorize resource deployment related to the agent-sandbox add-on. For information about how to obtain an access key, see API credentials (Access Key and API 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:
|
Secret Key | |
Controller Configuration | |
Enable Extensions | Whether to enable the extended capabilities of the agent-sandbox add-on.
|
Default Sandbox Service | When you do not specify whether to create a Service for the Sandbox CR, this controller parameter determines whether to create a Service.
|
Replicas | Number of replicas for the add-on's Pod. If you specify more than one replica, you also need to enable the Leader Election option. |
Sandbox Concurrent Workers | The maximum number of concurrent reconciliations for the Sandbox controller.
|
SandboxClaim Concurrent Workers | The maximum number of concurrent reconciliations for the SandboxClaim controller.
|
SandboxWarmPool Concurrent Workers | The maximum number of concurrent reconciliations for the SandboxWarmPool controller.
|
SandboxTemplate Concurrent Workers | The maximum number of concurrent reconciliations for the SandboxTemplate controller.
|
Kube API QPS | The QPS rate-limiting parameter for Kubernetes API calls. This parameter is used to prevent component management operations from placing excessive load on the API server.
|
Kube API Burst | The maximum burst request limit for Kubernetes API calls. This parameter is used to prevent component management operations from placing excessive load on the API server.
|
Leader Election | If you enable this option, the leader election mechanism is used to resolve resource contention issues. warning In a multi-replica deployment, this option must be enabled to prevent multiple replicas from executing business logic simultaneously and causing resource contention. |
Extra Args | Pass additional startup flags, such as Zap logging parameters and other flags that are not individually abstracted. |
Node Label Selector | After you enable this feature, you can specify node labels, and the core workloads of the add-on will be scheduled onto nodes with the specified labels. |
Pod scheduling based on taints and tolerations | After it is enabled, you can configure taint tolerations, allowing the core workloads of the add-on to be scheduled to nodes with the specified taints. |
Node forced scheduling | If this option is enabled, you can configure the policy for selecting node labels. The core workload of the add-on is forcibly scheduled to compliant nodes according to the scheduling policy. |
Resource configuration | CPU and memory requests and limits for the add-on controller itself. We recommend adjusting the specifications of the controller based on your business requirements. |
E2B configuration | |
Enable E2B Server | If you enable this option, E2B is enabled. You also need to configure all parameters below. |
Service Account Name | ServiceAccount 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. |
E2B Domain | E2B service domain suffix. It is used to generate the access domain names for the E2B control plane and data plane. We recommend keeping the default value.
warning
|
Enable Control-Plane Auth | Whether to enable Control-Plane authentication. If you enable this option, API requests to E2B will be validated against the provided API key. |
Admin Key | The E2B API key. You can specify a custom string or leave it unspecified. warning If you use E2B SDK v2.25.0 or later, we recommend using an E2B API Key in the e2b_xxxxx format. 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. |
Control-Plane Name | Control-Plane component 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. |
Control-Plane Service Name | Control-Plane service 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. |
Control-Plane Replicas | The number of Control-Plane replicas. You can adjust the number of replicas based on the file size and file/code operation frequency. |
Idle Timeout | Idle connection timeout.
|
Write Timeout | Response write timeout.
|
Sandbox Timeout | Sandbox lifecycle timeout.
|
Rest Client QPS | The QPS limit for Kubernetes API access.
|
Rest Client Burst | The maximum burst requests to the Kubernetes API.
|
Control-Plane Service Port | The Control-Plane service port. We recommend keeping the default value 8081. |
Control-Plane Resource Configuration | CPU/Memory requests and limits for the Control-Plane. You can adjust this configuration based on the file size and the frequency of file or code operations. |
Data-Plane Name | The Data-Plane component 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. |
Data-Plane Service Name | Data-Plane service 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. |
Data-Plane Replicas | The number of Data-Plane replicas. You can adjust the number of replicas based on the file size and file/code operation frequency. |
Data-Plane Service Port | The Data-Plane service port. We recommend keeping the default value 8080. |
Data-Plane Resource Configuration | CPU/Memory requests and limits for the Data-Plane. You can adjust this configuration based on the file size and the frequency of file or code operations. |