63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: opensandbox-values
|
|
namespace: opensandbox-system
|
|
data:
|
|
values.yaml: |
|
|
opensandbox-controller:
|
|
controller:
|
|
logLevel: info
|
|
replicaCount: 1
|
|
metrics:
|
|
enabled: true
|
|
secure: false
|
|
port: 8080
|
|
resources:
|
|
requests:
|
|
cpu: 25m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
|
|
opensandbox-server:
|
|
server:
|
|
replicaCount: 1
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
configToml: |
|
|
[server]
|
|
host = "0.0.0.0"
|
|
port = 80
|
|
api_key = ""
|
|
|
|
[log]
|
|
level = "INFO"
|
|
|
|
[runtime]
|
|
type = "kubernetes"
|
|
execd_image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/execd:v1.0.22"
|
|
|
|
[kubernetes]
|
|
kubeconfig_path = ""
|
|
namespace = "opensandbox"
|
|
informer_enabled = true
|
|
informer_resync_seconds = 300
|
|
informer_watch_timeout_seconds = 60
|
|
snapshot_create_timeout_seconds = 900
|
|
workload_provider = "batchsandbox"
|
|
batchsandbox_template_file = "/etc/opensandbox/example.batchsandbox-template.yaml"
|
|
|
|
[egress]
|
|
image = "sandbox-registry.cn-zhangjiakou.cr.aliyuncs.com/opensandbox/egress:v1.1.6"
|
|
mode = "dns+nft"
|
|
|
|
opensandbox-node-agent:
|
|
enabled: false
|