mirror of https://github.com/k3s-io/k3s
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 ```pull/6/head
commit
90250220a9
|
@ -1396,12 +1396,12 @@ func (kl *Kubelet) syncPod(o syncPodOptions) error {
|
|||
}
|
||||
|
||||
// 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()
|
||||
// If pod has already been terminated then we need not create
|
||||
// or update the pod's cgroup
|
||||
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
|
||||
// should be killed intermittently and brought back up
|
||||
// under the qos cgroup hierarchy.
|
||||
|
|
Loading…
Reference in New Issue