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
3ba5816e
Commit
3ba5816e
authored
Jun 16, 2016
by
k8s-merge-robot
Committed by
GitHub
Jun 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #27536 from mwielgus/log-np-del
Automatic merge from submit-queue Log node-pool deletion in cluster autoscaler tests cc: @piosz @jszczepkowski
parents
d7d8d2e5
c4787225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
cluster_size_autoscaling.go
test/e2e/cluster_size_autoscaling.go
+11
-4
No files found.
test/e2e/cluster_size_autoscaling.go
View file @
3ba5816e
...
...
@@ -206,10 +206,17 @@ var _ = framework.KubeDescribe("Cluster size autoscaling [Slow]", func() {
"--project="
+
framework
.
TestContext
.
CloudConfig
.
ProjectID
,
"--zone="
+
framework
.
TestContext
.
CloudConfig
.
Zone
,
"--cluster="
+
framework
.
TestContext
.
CloudConfig
.
Cluster
)
.
CombinedOutput
()
defer
exec
.
Command
(
"gcloud"
,
"alpha"
,
"container"
,
"node-pools"
,
"delete"
,
extraPoolName
,
"--quiet"
,
"--project="
+
framework
.
TestContext
.
CloudConfig
.
ProjectID
,
"--zone="
+
framework
.
TestContext
.
CloudConfig
.
Zone
,
"--cluster="
+
framework
.
TestContext
.
CloudConfig
.
Cluster
)
.
CombinedOutput
()
defer
func
()
{
glog
.
Infof
(
"Deleting node pool %s"
,
extraPoolName
)
output
,
err
:=
exec
.
Command
(
"gcloud"
,
"alpha"
,
"container"
,
"node-pools"
,
"delete"
,
extraPoolName
,
"--quiet"
,
"--project="
+
framework
.
TestContext
.
CloudConfig
.
ProjectID
,
"--zone="
+
framework
.
TestContext
.
CloudConfig
.
Zone
,
"--cluster="
+
framework
.
TestContext
.
CloudConfig
.
Cluster
)
.
CombinedOutput
()
if
err
!=
nil
{
glog
.
Infof
(
"Error: %v"
,
err
)
}
glog
.
Infof
(
"Node-pool deletion output: %s"
,
output
)
}()
framework
.
ExpectNoError
(
err
)
glog
.
Infof
(
"Creating node-pool: %s"
,
output
)
framework
.
ExpectNoError
(
framework
.
WaitForClusterSize
(
c
,
nodeCount
+
1
,
resizeTimeout
))
...
...
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