fix(superset): fix reinstall and adjust resource request/limit
This commit is contained in:
@@ -69,6 +69,14 @@ init:
|
||||
supersetNode:
|
||||
replicaCount: 1
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: "{{ .Env.SUPERSET_CPU_REQUEST }}"
|
||||
memory: "{{ .Env.SUPERSET_MEMORY_REQUEST }}"
|
||||
limits:
|
||||
cpu: "{{ .Env.SUPERSET_CPU_LIMIT }}"
|
||||
memory: "{{ .Env.SUPERSET_MEMORY_LIMIT }}"
|
||||
|
||||
# Security context for Pod Security Standards (baseline)
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
@@ -126,6 +134,14 @@ supersetNode:
|
||||
supersetWorker:
|
||||
replicaCount: 1
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: "{{ .Env.SUPERSET_WORKER_CPU_REQUEST }}"
|
||||
memory: "{{ .Env.SUPERSET_WORKER_MEMORY_REQUEST }}"
|
||||
limits:
|
||||
cpu: "{{ .Env.SUPERSET_WORKER_CPU_LIMIT }}"
|
||||
memory: "{{ .Env.SUPERSET_WORKER_MEMORY_LIMIT }}"
|
||||
|
||||
# Security context for Pod Security Standards (baseline)
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
@@ -183,6 +199,13 @@ redis:
|
||||
master:
|
||||
persistence:
|
||||
enabled: false
|
||||
resources:
|
||||
requests:
|
||||
cpu: "{{ .Env.REDIS_CPU_REQUEST }}"
|
||||
memory: "{{ .Env.REDIS_MEMORY_REQUEST }}"
|
||||
limits:
|
||||
cpu: "{{ .Env.REDIS_CPU_LIMIT }}"
|
||||
memory: "{{ .Env.REDIS_MEMORY_LIMIT }}"
|
||||
# Security context for Pod Security Standards (restricted)
|
||||
podSecurityContext:
|
||||
runAsNonRoot: true
|
||||
|
||||
Reference in New Issue
Block a user