Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
b0a415e4
Commit
b0a415e4
authored
Apr 13, 2017
by
Jian Qiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typo of comment in kubelet.go
parent
fc51574b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kubelet.go
pkg/kubelet/kubelet.go
+2
-2
No files found.
pkg/kubelet/kubelet.go
View file @
b0a415e4
...
@@ -1444,12 +1444,12 @@ func (kl *Kubelet) syncPod(o syncPodOptions) error {
...
@@ -1444,12 +1444,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 cgroup
s
-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 cgroup
s
-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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment