Skip to content

Commit

Permalink
Merge pull request #1546 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1540-to-release-4.4

[release-4.4] Bug 1811713: Specify cgroups in kubelet.conf so cAdvisor stats will be tracked
  • Loading branch information
openshift-merge-robot committed Mar 11, 2020
2 parents 87dfce2 + 0cb2380 commit 0f12a6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/master/01-master-kubelet/_base/files/kubelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ contents:
anonymous:
enabled: false
cgroupDriver: systemd
cgroupRoot: /
clusterDNS:
- {{.ClusterDNSIP}}
clusterDomain: cluster.local
Expand All @@ -19,8 +20,10 @@ contents:
kubeAPIQPS: 50
kubeAPIBurst: 100
rotateCertificates: true
runtimeCgroups: /system.slice/crio.service
serializeImagePulls: false
staticPodPath: /etc/kubernetes/manifests
systemCgroups: /system.slice
systemReserved:
cpu: 500m
memory: 1Gi
Expand Down
3 changes: 3 additions & 0 deletions templates/worker/01-worker-kubelet/_base/files/kubelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ contents:
anonymous:
enabled: false
cgroupDriver: systemd
cgroupRoot: /
clusterDNS:
- {{.ClusterDNSIP}}
clusterDomain: cluster.local
Expand All @@ -19,8 +20,10 @@ contents:
kubeAPIQPS: 50
kubeAPIBurst: 100
rotateCertificates: true
runtimeCgroups: /system.slice/crio.service
serializeImagePulls: false
staticPodPath: /etc/kubernetes/manifests
systemCgroups: /system.slice
systemReserved:
cpu: 500m
memory: 1Gi
Expand Down

0 comments on commit 0f12a6b

Please sign in to comment.