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
c9cbabc8
Commit
c9cbabc8
authored
Apr 17, 2019
by
Lili Cosic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pkg,test: Fix DaemonSet typos
parent
0889c3e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
daemonset_util.go
pkg/controller/daemon/util/daemonset_util.go
+1
-1
proxy_addon_test.go
test/e2e_kubeadm/proxy_addon_test.go
+1
-1
No files found.
pkg/controller/daemon/util/daemonset_util.go
View file @
c9cbabc8
...
@@ -45,7 +45,7 @@ func GetTemplateGeneration(ds *apps.DaemonSet) (*int64, error) {
...
@@ -45,7 +45,7 @@ func GetTemplateGeneration(ds *apps.DaemonSet) (*int64, error) {
return
&
generation
,
nil
return
&
generation
,
nil
}
}
// AddOrUpdateDaemonPodTolerations apply necessary tolerations to D
ea
monSet Pods, e.g. node.kubernetes.io/not-ready:NoExecute.
// AddOrUpdateDaemonPodTolerations apply necessary tolerations to D
ae
monSet Pods, e.g. node.kubernetes.io/not-ready:NoExecute.
func
AddOrUpdateDaemonPodTolerations
(
spec
*
v1
.
PodSpec
)
{
func
AddOrUpdateDaemonPodTolerations
(
spec
*
v1
.
PodSpec
)
{
// DaemonSet pods shouldn't be deleted by NodeController in case of node problems.
// DaemonSet pods shouldn't be deleted by NodeController in case of node problems.
// Add infinite toleration for taint notReady:NoExecute here
// Add infinite toleration for taint notReady:NoExecute here
...
...
test/e2e_kubeadm/proxy_addon_test.go
View file @
c9cbabc8
...
@@ -90,7 +90,7 @@ var _ = KubeadmDescribe("proxy addon", func() {
...
@@ -90,7 +90,7 @@ var _ = KubeadmDescribe("proxy addon", func() {
})
})
})
})
Context
(
"kube-proxy D
ea
monSet"
,
func
()
{
Context
(
"kube-proxy D
ae
monSet"
,
func
()
{
It
(
"should exist and be properly configured"
,
func
()
{
It
(
"should exist and be properly configured"
,
func
()
{
ds
:=
GetDaemonSet
(
f
.
ClientSet
,
kubeSystemNamespace
,
kubeProxyDaemonSetName
)
ds
:=
GetDaemonSet
(
f
.
ClientSet
,
kubeSystemNamespace
,
kubeProxyDaemonSetName
)
...
...
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