-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new config file: - rke2-99-z00-harvester-reserved-resources.yaml: which includes system-reserved and kube-reserved CPU resources, kube-reserved follow the GKE CPU reservation formula for calculating reserved CPU resources, and system-reserved is 2/3 kube-reserved cpu resource. Signed-off-by: Cooper Tseng <cooper.tseng@suse.com>
- Loading branch information
Showing
4 changed files
with
154 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
pkg/config/templates/rke2-99-z00-harvester-reserved-resources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kubelet-arg+: | ||
- {{ printf "%q" .GetSystemReserved }} | ||
- {{ printf "%q" .GetKubeReserved }} |