Skip to content

Commit

Permalink
kubelet: added systemReserved and kubeReserved configuration options
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Filatov <[email protected]>
  • Loading branch information
Bregor committed Aug 20, 2020
1 parent 579a9df commit 8a33a10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# UNRELEASED
- kubelet: added `systemReserved` and `kubeReserved` configuration options (only for cpu and memory now)
- [Weave Net: 2.7.0](https://github.com/weaveworks/weave/releases/tag/v2.7.0)
- [etcd: 3.4.12](https://github.com/etcd-io/etcd/releases/tag/v3.4.12)
- Weave: include `weave-npc` by default :shrug:
Expand Down
4 changes: 4 additions & 0 deletions attributes/kubelet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@
default['kubernetes']['kubelet']['config']['serverTLSBootstrap'] = true
default['kubernetes']['kubelet']['config']['rotateCertificates'] = true
default['kubernetes']['kubelet']['config']['cpuCFSQuotaPeriod'] = '10ms'
default['kubernetes']['kubelet']['config']['systemReserved']['cpu'] = '100m'
default['kubernetes']['kubelet']['config']['systemReserved']['memory'] = '100Mi'
default['kubernetes']['kubelet']['config']['kubeReserved']['cpu'] = '100m'
default['kubernetes']['kubelet']['config']['kubeReserved']['memory'] = '100Mi'

0 comments on commit 8a33a10

Please sign in to comment.