Skip to content

Commit

Permalink
chore(helm): add GOMEMLIMIT and GOMAXPROCS environment variables (kum…
Browse files Browse the repository at this point in the history
…ahq#10879)

chore(helm): add GOMEMLIMIT GOMAXPROCS environment

Signed-off-by: Lukasz Dziedziak <[email protected]>
  • Loading branch information
lukidzi committed Jul 12, 2024
1 parent 124e656 commit 5688baf
Show file tree
Hide file tree
Showing 27 changed files with 270 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9781,6 +9781,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9781,6 +9781,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9847,6 +9847,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
10 changes: 10 additions & 0 deletions app/kumactl/cmd/install/testdata/install-cp-helm/empty.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,16 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: GOMEMLIMIT
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.memory
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
containerName: control-plane
resource: limits.cpu
args:
- run
- --log-level=info
Expand Down
Loading

0 comments on commit 5688baf

Please sign in to comment.