Skip to content

Commit

Permalink
Do not allocate memory for system in kind (#200)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Santana <[email protected]>
  • Loading branch information
csantanapr authored Apr 24, 2024
1 parent 47a2788 commit 1f9697b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/local-backup/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ nodes:
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
system-reserved: memory=4Gi
node-labels: "ingress-ready=true"
extraMounts:
- hostPath: /home/ubuntu/backup # replace with your own path
Expand Down
2 changes: 0 additions & 2 deletions pkg/kind/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ nodes:
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
system-reserved: memory=4Gi
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 443
Expand Down Expand Up @@ -74,7 +73,6 @@ nodes:
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
system-reserved: memory=4Gi
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: 443
Expand Down
1 change: 0 additions & 1 deletion pkg/kind/resources/kind.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ nodes:
kind: InitConfiguration
nodeRegistration:
kubeletExtraArgs:
system-reserved: memory=4Gi
node-labels: "ingress-ready=true"
extraPortMappings:
- containerPort: {{ if (eq .IngressProtocol "http") -}} 80 {{- else -}} 443 {{- end }}
Expand Down

0 comments on commit 1f9697b

Please sign in to comment.