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
1c2f04b8
Commit
1c2f04b8
authored
Oct 09, 2014
by
Tim Hockin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add e2e test
parent
d258eca6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
355 additions
and
0 deletions
+355
-0
util.sh
cluster/gce/util.sh
+12
-0
services.sh
hack/e2e-suite/services.sh
+343
-0
No files found.
cluster/gce/util.sh
View file @
1c2f04b8
...
...
@@ -531,3 +531,15 @@ function test-teardown {
"
${
MINION_TAG
}
-
${
INSTANCE_PREFIX
}
-http-alt"
||
true
>
/dev/null
"
${
KUBE_ROOT
}
/cluster/kube-down.sh"
>
/dev/null
}
# SSH to a node by name ($1) and run a command ($2).
function
ssh-to-node
{
local
node
=
"
$1
"
local
cmd
=
"
$2
"
gcutil
--log_level
=
WARNING ssh
--ssh_arg
"-o LogLevel=quiet"
"
${
node
}
"
"
${
cmd
}
"
}
# Restart the kube-proxy on a node ($1)
function
restart-kube-proxy
{
ssh-to-node
"
$1
"
"sudo /etc/init.d/kube-proxy restart"
}
hack/e2e-suite/services.sh
0 → 100755
View file @
1c2f04b8
This diff is collapsed.
Click to expand it.
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