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
39a25edb
Commit
39a25edb
authored
Dec 19, 2016
by
du2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common.sh should load before kube-down/kube-up function called
parent
7e1cacaa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
util.sh
cluster/ubuntu/util.sh
+1
-4
No files found.
cluster/ubuntu/util.sh
View file @
39a25edb
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
set
-e
set
-e
SSH_OPTS
=
"-oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oLogLevel=ERROR -C"
SSH_OPTS
=
"-oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oLogLevel=ERROR -C"
source
"
${
KUBE_ROOT
}
/cluster/common.sh"
MASTER
=
""
MASTER
=
""
MASTER_IP
=
""
MASTER_IP
=
""
...
@@ -413,8 +414,6 @@ function kube-up() {
...
@@ -413,8 +414,6 @@ function kube-up() {
export
CONTEXT
=
"ubuntu"
export
CONTEXT
=
"ubuntu"
export
KUBE_SERVER
=
"http://
${
KUBE_MASTER_IP
}
:8080"
export
KUBE_SERVER
=
"http://
${
KUBE_MASTER_IP
}
:8080"
source
"
${
KUBE_ROOT
}
/cluster/common.sh"
# set kubernetes user and password
# set kubernetes user and password
load-or-gen-kube-basicauth
load-or-gen-kube-basicauth
...
@@ -710,8 +709,6 @@ function kube-down() {
...
@@ -710,8 +709,6 @@ function kube-down() {
export
KUBE_CONFIG_FILE
=
${
KUBE_CONFIG_FILE
:-${
KUBE_ROOT
}
/cluster/ubuntu/config-default.sh
}
export
KUBE_CONFIG_FILE
=
${
KUBE_CONFIG_FILE
:-${
KUBE_ROOT
}
/cluster/ubuntu/config-default.sh
}
source
"
${
KUBE_CONFIG_FILE
}
"
source
"
${
KUBE_CONFIG_FILE
}
"
source
"
${
KUBE_ROOT
}
/cluster/common.sh"
tear_down_alive_resources
tear_down_alive_resources
check-pods-torn-down
check-pods-torn-down
...
...
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