Commit 90250220 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #44428 from qiujian16/commenttypo

Automatic merge from submit-queue Fix some typo of comment in kubelet.go **What this PR does / why we need it**: The PR is to fix some typo in kubelet.go **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # N/A **Special notes for your reviewer**: **Release note**: ```release-note ```
parents 95a6f108 b0a415e4
...@@ -1396,12 +1396,12 @@ func (kl *Kubelet) syncPod(o syncPodOptions) error { ...@@ -1396,12 +1396,12 @@ func (kl *Kubelet) syncPod(o syncPodOptions) error {
} }
// Create Cgroups for the pod and apply resource parameters // Create Cgroups for the pod and apply resource parameters
// to them if cgroup-per-qos flag is enabled. // to them if cgroups-per-qos flag is enabled.
pcm := kl.containerManager.NewPodContainerManager() pcm := kl.containerManager.NewPodContainerManager()
// If pod has already been terminated then we need not create // If pod has already been terminated then we need not create
// or update the pod's cgroup // or update the pod's cgroup
if !kl.podIsTerminated(pod) { if !kl.podIsTerminated(pod) {
// When the kubelet is restarted with the cgroup-per-qos // When the kubelet is restarted with the cgroups-per-qos
// flag enabled, all the pod's running containers // flag enabled, all the pod's running containers
// should be killed intermittently and brought back up // should be killed intermittently and brought back up
// under the qos cgroup hierarchy. // under the qos cgroup hierarchy.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment