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
729a76f7
Commit
729a76f7
authored
Jan 27, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19512 from mml/update-objects
Auto commit by PR queue bot
parents
8e319c45
fefb7a98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
test-update-storage-objects.sh
hack/test-update-storage-objects.sh
+7
-0
No files found.
hack/test-update-storage-objects.sh
View file @
729a76f7
...
...
@@ -63,6 +63,9 @@ function startApiServer() {
function
killApiServer
()
{
kube::log::status
"Killing api server"
[[
-n
${
APISERVER_PID
-
}
]]
&&
kill
${
APISERVER_PID
}
1>&2 2>/dev/null
wait
${
APISERVER_PID
}
||
true
kube::log::status
"api server exited"
unset
APISERVER_PID
}
...
...
@@ -114,12 +117,16 @@ ${UPDATE_ETCD_OBJECTS_SCRIPT}
killApiServer
#######################################################
# Step 3 : Start a server which supports only the new api version.
#######################################################
KUBE_API_VERSIONS
=
"
${
KUBE_NEW_API_VERSION
}
"
RUNTIME_CONFIG
=
"api/all=false,api/
${
KUBE_NEW_API_VERSION
}
=true"
# This seems to reduce flakiness.
sleep
1
startApiServer
# Verify that the server is able to read the object.
...
...
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