Skip to content

Commit 9a497c1

Browse files
committed
feat: add nebula resource limits and golden file scenario
Add configurable resource limits to nebula DaemonSet (200m/128Mi limits, 50m/64Mi requests). Add nebula-enabled golden file scenario covering the full nebula template rendering path.
1 parent bc8da79 commit 9a497c1

File tree

5 files changed

+598
-0
lines changed

5 files changed

+598
-0
lines changed

helm/disentangle/templates/nebula-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
- name: nebula
2424
image: "{{ .Values.nebula.image.repository }}:{{ .Values.nebula.image.tag }}"
2525
imagePullPolicy: {{ .Values.nebula.image.pullPolicy }}
26+
{{- with .Values.nebula.resources }}
27+
resources:
28+
{{- toYaml . | nindent 12 }}
29+
{{- end }}
2630
securityContext:
2731
capabilities:
2832
add: ["NET_ADMIN"]

helm/disentangle/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ nebula:
104104
repository: ghcr.io/disentangle-network/nebula-pq
105105
tag: "1.11.0-pq.1"
106106
pullPolicy: IfNotPresent
107+
resources:
108+
limits:
109+
cpu: 200m
110+
memory: 128Mi
111+
requests:
112+
cpu: 50m
113+
memory: 64Mi
107114
# Mode: "lighthouse" or "node"
108115
mode: "node"
109116
# Overlay network CIDR - reserved for future networkpolicy/tun configuration

0 commit comments

Comments
 (0)