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
4e6325a3
Commit
4e6325a3
authored
Jul 23, 2015
by
Jeff Grafton
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11792 from GoogleCloudPlatform/revert-11379-fix_libvirt_coreos
Revert "Fix libvirt-coreos cluster"
parents
788012ae
889d724c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
common.sh
cluster/common.sh
+1
-3
util.sh
cluster/libvirt-coreos/util.sh
+7
-0
No files found.
cluster/common.sh
View file @
4e6325a3
...
...
@@ -80,9 +80,7 @@ function create-kubeconfig() {
fi
"
${
kubectl
}
"
config set-cluster
"
${
CONTEXT
}
"
"
${
cluster_args
[@]
}
"
if
[
-n
"
${
user_args
[@]
:-}
"
]
;
then
"
${
kubectl
}
"
config set-credentials
"
${
CONTEXT
}
"
"
${
user_args
[@]
}
"
fi
"
${
kubectl
}
"
config set-credentials
"
${
CONTEXT
}
"
"
${
user_args
[@]
}
"
"
${
kubectl
}
"
config set-context
"
${
CONTEXT
}
"
--cluster
=
"
${
CONTEXT
}
"
--user
=
"
${
CONTEXT
}
"
"
${
kubectl
}
"
config use-context
"
${
CONTEXT
}
"
--cluster
=
"
${
CONTEXT
}
"
...
...
cluster/libvirt-coreos/util.sh
View file @
4e6325a3
...
...
@@ -200,6 +200,7 @@ function wait-cluster-readiness {
function
kube-up
{
detect-master
detect-minions
get-password
initialize-pool keep_base_image
initialize-network
...
...
@@ -327,6 +328,12 @@ function test-teardown {
kube-down
}
# Set the {KUBE_USER} and {KUBE_PASSWORD} environment values required to interact with provider
function
get-password
{
export
KUBE_USER
=
''
export
KUBE_PASSWORD
=
''
}
# SSH to a node by name or IP ($1) and run a command ($2).
function
ssh-to-node
{
local
node
=
"
$1
"
...
...
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