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
4d3912a0
Commit
4d3912a0
authored
Oct 26, 2022
by
Brad Davidson
Committed by
Brad Davidson
Oct 26, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flakey traefik upgrade in etcd test
Signed-off-by:
Brad Davidson
<
brad.davidson@rancher.com
>
parent
f96d86f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
test-run-etcd
scripts/test-run-etcd
+10
-1
No files found.
scripts/test-run-etcd
View file @
4d3912a0
...
@@ -10,7 +10,7 @@ all_services=(
...
@@ -10,7 +10,7 @@ all_services=(
export
NUM_SERVERS
=
2
export
NUM_SERVERS
=
2
export
NUM_AGENTS
=
0
export
NUM_AGENTS
=
0
export
WAIT_SERVICES
=
"
${
all_services
[@]
}
"
export
WAIT_SERVICES
=
"
${
all_services
[@]
}
"
export
SERVER_1_ARGS
=
"--cluster-init
--node-taint=node-role.kubernetes.io/control-plane=effect:NoSchedule
"
export
SERVER_1_ARGS
=
"--cluster-init"
REPO
=
${
REPO
:-
rancher
}
REPO
=
${
REPO
:-
rancher
}
IMAGE_NAME
=
${
IMAGE_NAME
:-
k3s
}
IMAGE_NAME
=
${
IMAGE_NAME
:-
k3s
}
...
@@ -38,6 +38,15 @@ LABEL="ETCD-JOIN-BASIC" SERVER_ARGS="" run-test
...
@@ -38,6 +38,15 @@ LABEL="ETCD-JOIN-BASIC" SERVER_ARGS="" run-test
# --- create a basic cluster to test joining a managed etcd cluster with --agent-token set
# --- create a basic cluster to test joining a managed etcd cluster with --agent-token set
LABEL
=
"ETCD-JOIN-AGENTTOKEN"
SERVER_ARGS
=
"--agent-token
${
RANDOM
}${
RANDOM
}${
RANDOM
}
"
run-test
LABEL
=
"ETCD-JOIN-AGENTTOKEN"
SERVER_ARGS
=
"--agent-token
${
RANDOM
}${
RANDOM
}${
RANDOM
}
"
run-test
# The following tests deploy clusters of mixed versions. The traefik helm chart may not deploy
# correctly until all servers have been upgraded to the same release, so don't wait for it.
all_services
=(
coredns
local-path-provisioner
metrics-server
)
export
WAIT_SERVICES
=
"
${
all_services
[@]
}
"
# --- test joining managed etcd cluster with stable-version first server and current-build second server
# --- test joining managed etcd cluster with stable-version first server and current-build second server
# --- this test is skipped if the second node is down-level, as we don't support adding a down-level server to an existing cluster
# --- this test is skipped if the second node is down-level, as we don't support adding a down-level server to an existing cluster
server-post-hook
()
{
server-post-hook
()
{
...
...
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