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
aa7c5896
Commit
aa7c5896
authored
Dec 27, 2017
by
Andy Xie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code refactor
parent
18758f50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
runtime.go
pkg/kubelet/container/runtime.go
+0
-2
kubelet_pods.go
pkg/kubelet/kubelet_pods.go
+0
-2
No files found.
pkg/kubelet/container/runtime.go
View file @
aa7c5896
...
...
@@ -428,8 +428,6 @@ type RunContainerOptions struct {
// this directory will be used to create and mount the log file to
// container.TerminationMessagePath
PodContainerDir
string
// The parent cgroup to pass to Docker
CgroupParent
string
// The type of container rootfs
ReadOnly
bool
// hostname for pod containers
...
...
pkg/kubelet/kubelet_pods.go
View file @
aa7c5896
...
...
@@ -436,8 +436,6 @@ func (kl *Kubelet) GenerateRunContainerOptions(pod *v1.Pod, container *v1.Contai
return
nil
,
err
}
cgroupParent
:=
kl
.
GetPodCgroupParent
(
pod
)
opts
.
CgroupParent
=
cgroupParent
hostname
,
hostDomainName
,
err
:=
kl
.
GeneratePodHostNameAndDomain
(
pod
)
if
err
!=
nil
{
return
nil
,
err
...
...
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