Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
57c0b595
Commit
57c0b595
authored
Nov 05, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10 from bmelville/master
bootstrapped local DM will log to log/ now
parents
533df45c
b9fbfe41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
bootstrap.sh
examples/bootstrap/bootstrap.sh
+9
-3
No files found.
examples/bootstrap/bootstrap.sh
View file @
57c0b595
#!/bin/bash
LOGDIR
=
log
if
[[
!
-d
$LOGDIR
]]
;
then
mkdir
$LOGDIR
fi
KUBECTL
=
`
which kubectl
`
if
[[
-z
$KUBECTL
]]
;
then
echo
Cannot find kubectl
...
...
@@ -12,7 +18,7 @@ if [[ -z $RESOURCIFIER ]] ; then
exit
1
fi
pkill
-f
$RESOURCIFIER
$RESOURCIFIER
>
resourcifier.log 2>&1
--kubectl
=
$KUBECTL
--port
=
8082 &
$RESOURCIFIER
>
$LOGDIR
/
resourcifier.log 2>&1
--kubectl
=
$KUBECTL
--port
=
8082 &
echo
echo
"Starting expandybird..."
...
...
@@ -22,7 +28,7 @@ if [[ -z $EXPANDYBIRD ]] ; then
exit
1
fi
pkill
-f
$EXPANDYBIRD
$EXPANDYBIRD
>
expandybird.log 2>&1
--port
=
8081
--expansion_binary
=
expandybird/expansion/expansion.py &
$EXPANDYBIRD
>
$LOGDIR
/
expandybird.log 2>&1
--port
=
8081
--expansion_binary
=
expandybird/expansion/expansion.py &
echo
echo
"Starting deployment manager..."
...
...
@@ -32,7 +38,7 @@ if [[ -z $MANAGER ]] ; then
exit
1
fi
pkill
-f
$MANAGER
$MANAGER
>
manager.log 2>&1
--port
=
8080
--expanderURL
=
http://localhost:8081
--deployerURL
=
http://localhost:8082 &
$MANAGER
>
$LOGDIR
/
manager.log 2>&1
--port
=
8080
--expanderURL
=
http://localhost:8081
--deployerURL
=
http://localhost:8082 &
echo
echo
"Starting kubectl proxy..."
...
...
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