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
4e231ee3
Commit
4e231ee3
authored
Feb 07, 2017
by
Random-Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove angle brackets in the test name.
parent
3ce49346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dynamic_kubelet_configuration_test.go
test/e2e_node/dynamic_kubelet_configuration_test.go
+2
-2
No files found.
test/e2e_node/dynamic_kubelet_configuration_test.go
View file @
4e231ee3
...
@@ -30,7 +30,7 @@ import (
...
@@ -30,7 +30,7 @@ import (
var
_
=
framework
.
KubeDescribe
(
"DynamicKubeletConfiguration [Feature:DynamicKubeletConfig] [Serial] [Disruptive]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"DynamicKubeletConfiguration [Feature:DynamicKubeletConfig] [Serial] [Disruptive]"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"dynamic-kubelet-configuration-test"
)
f
:=
framework
.
NewDefaultFramework
(
"dynamic-kubelet-configuration-test"
)
Context
(
"When a configmap called `kubelet-
<node-name>
` is added to the `kube-system` namespace"
,
func
()
{
Context
(
"When a configmap called `kubelet-
{node-name}
` is added to the `kube-system` namespace"
,
func
()
{
It
(
"The Kubelet on that node should restart to take up the new config"
,
func
()
{
It
(
"The Kubelet on that node should restart to take up the new config"
,
func
()
{
// Get the current KubeletConfiguration (known to be valid) by
// Get the current KubeletConfiguration (known to be valid) by
// querying the configz endpoint for the current node.
// querying the configz endpoint for the current node.
...
@@ -47,7 +47,7 @@ var _ = framework.KubeDescribe("DynamicKubeletConfiguration [Feature:DynamicKube
...
@@ -47,7 +47,7 @@ var _ = framework.KubeDescribe("DynamicKubeletConfiguration [Feature:DynamicKube
}
}
kubeCfg
.
FileCheckFrequency
.
Duration
=
newFileCheckFrequency
kubeCfg
.
FileCheckFrequency
.
Duration
=
newFileCheckFrequency
// Use the new config to create a new kube-
<node-name>
configmap in `kube-system` namespace.
// Use the new config to create a new kube-
{node-name}
configmap in `kube-system` namespace.
// Note: setKubeletConfiguration will return an error if the Kubelet does not present the
// Note: setKubeletConfiguration will return an error if the Kubelet does not present the
// modified configuration via /configz when it comes back up.
// modified configuration via /configz when it comes back up.
err
=
setKubeletConfiguration
(
f
,
kubeCfg
)
err
=
setKubeletConfiguration
(
f
,
kubeCfg
)
...
...
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