values.yaml
 1  # Copyright 2026 Alibaba Group Holding Ltd.
 2  # Default values for opensandbox-server.
 3  
 4  # -- Override the name of the chart
 5  nameOverride: ""
 6  # -- Resource names and app.kubernetes.io/name are fixed to this value, independent of release name
 7  fullnameOverride: "opensandbox-server"
 8  
 9  # -- Override the namespace (default: opensandbox-system)
10  namespaceOverride: ""
11  
12  # -- Image pull secrets for the server deployment. Each entry: {name: <secret-name>}.
13  imagePullSecrets: []
14  
15  # Server configuration
16  server:
17    # -- Server image configuration
18    image:
19      repository: sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/server
20      tag: "v0.1.12"
21  
22    # -- Number of server replicas
23    replicaCount: 2
24  
25    # -- Resource requests and limits
26    resources:
27      limits:
28        cpu: "2"
29        memory: 8Gi
30      requests:
31        cpu: "1"
32        memory: 4Gi
33  
34    tolerations: []
35    affinity: {}
36  
37    # Gateway (components/ingress): when enabled, writes config [ingress] and deploys the gateway
38    gateway:
39      enabled: false
40      host: opensandbox.example.com
41      gatewayRouteMode: "header"
42      image:
43        repository: sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/ingress
44        tag: "v1.0.6"
45      replicaCount: 2
46      port: 28888
47      dataplaneNamespace: "opensandbox"
48      providerType: "batchsandbox"
49      logLevel: "info"
50      resources:
51        limits:
52          cpu: "2"
53          memory: 8Gi
54        requests:
55          cpu: "1"
56          memory: 4Gi
57  
58  # -- Server config (TOML). Mounted at /etc/opensandbox/config.toml.
59  configToml: |
60    [server]
61    host = "0.0.0.0"
62    port = 80
63    api_key = ""
64  
65    [log]
66    level = "INFO"
67  
68    [runtime]
69    type = "kubernetes"
70    execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.13"
71  
72    [kubernetes]
73    kubeconfig_path = ""
74    namespace = "opensandbox"
75    informer_enabled = true
76    informer_resync_seconds = 300
77    informer_watch_timeout_seconds = 60
78    workload_provider = "batchsandbox"
79    batchsandbox_template_file = "/etc/opensandbox/example.batchsandbox-template.yaml"
80    
81    [egress]
82    image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.0.8"
83    mode = "dns+nft"
84