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
2e9509fb
Commit
2e9509fb
authored
Jun 12, 2015
by
Abhi Shah
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9647 from bprashanth/roll
Fix rolling update e2e test
parents
117f5503
adc1a26c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
kitten-rc.yaml
examples/update-demo/kitten-rc.yaml
+1
-1
kubectl.go
test/e2e/kubectl.go
+2
-1
No files found.
examples/update-demo/kitten-rc.yaml
View file @
2e9509fb
...
...
@@ -3,7 +3,7 @@ kind: ReplicationController
metadata
:
name
:
update-demo-kitten
spec
:
replicas
:
0
replicas
:
1
selector
:
name
:
update-demo
version
:
kitten
...
...
test/e2e/kubectl.go
View file @
2e9509fb
...
...
@@ -101,7 +101,8 @@ var _ = Describe("Kubectl client", func() {
validateController
(
c
,
nautilusImage
,
2
,
"update-demo"
,
updateDemoSelector
,
getUDData
(
"nautilus.jpg"
,
ns
),
ns
)
By
(
"rolling-update to new replication controller"
)
runKubectl
(
"rolling-update"
,
"update-demo-nautilus"
,
"--update-period=1s"
,
"-f"
,
kittenPath
,
fmt
.
Sprintf
(
"--namespace=%v"
,
ns
))
validateController
(
c
,
kittenImage
,
2
,
"update-demo"
,
updateDemoSelector
,
getUDData
(
"kitten.jpg"
,
ns
),
ns
)
// TODO: revisit the expected replicas once #9645 is resolved
validateController
(
c
,
kittenImage
,
1
,
"update-demo"
,
updateDemoSelector
,
getUDData
(
"kitten.jpg"
,
ns
),
ns
)
// Everything will hopefully be cleaned up when the namespace is deleted.
})
})
...
...
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