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
61242f74
Commit
61242f74
authored
Dec 08, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Dec 08, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #35939 from xiangpengzhao/minor-cleanup
Automatic merge from submit-queue Minor cleanup: fix typos Fix some typos.
parents
ff0516be
829980d8
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 @
61242f74
...
@@ -1345,7 +1345,7 @@ func (kl *Kubelet) GetClusterDNS(pod *v1.Pod) ([]string, []string, error) {
...
@@ -1345,7 +1345,7 @@ func (kl *Kubelet) GetClusterDNS(pod *v1.Pod) ([]string, []string, error) {
// * Call the container runtime's SyncPod callback
// * Call the container runtime's SyncPod callback
// * Update the traffic shaping for the pod's ingress and egress limits
// * Update the traffic shaping for the pod's ingress and egress limits
//
//
// If any step
i
f this workflow errors, the error is returned, and is repeated
// If any step
o
f this workflow errors, the error is returned, and is repeated
// on the next syncPod call.
// on the next syncPod call.
func
(
kl
*
Kubelet
)
syncPod
(
o
syncPodOptions
)
error
{
func
(
kl
*
Kubelet
)
syncPod
(
o
syncPodOptions
)
error
{
// pull out the required options
// pull out the required options
...
@@ -1625,7 +1625,7 @@ func (kl *Kubelet) deletePod(pod *v1.Pod) error {
...
@@ -1625,7 +1625,7 @@ func (kl *Kubelet) deletePod(pod *v1.Pod) error {
return
nil
return
nil
}
}
//
handle
OutOfDisk detects if pods can't fit due to lack of disk space.
//
is
OutOfDisk detects if pods can't fit due to lack of disk space.
func
(
kl
*
Kubelet
)
isOutOfDisk
()
bool
{
func
(
kl
*
Kubelet
)
isOutOfDisk
()
bool
{
// Check disk space once globally and reject or accept all new pods.
// Check disk space once globally and reject or accept all new pods.
withinBounds
,
err
:=
kl
.
diskSpaceManager
.
IsRuntimeDiskSpaceAvailable
()
withinBounds
,
err
:=
kl
.
diskSpaceManager
.
IsRuntimeDiskSpaceAvailable
()
...
...
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