Skip to content

Commit

Permalink
Add local-up.sh
Browse files Browse the repository at this point in the history
Developers can run `hack/local-up.sh` to setup up a local environment
including:
1. a local k8s cluster with a master node.
2. a kubeedge node.
3. our gm/lc.

Based on the kubeedge-local-up script which builds a local k8s cluster
and kubeedge, our local-up script installs our package locally for
simply developing and preparing for e3e tests.

It does:
1. build the gm/lc/worker images.
2. download kubeedge source code and run its localup script.
3. prepare our k8s env.
4. config gm config and start gm.
5. start lc.
6. add cleanup

For cleanup, it needs to do our cleanups before kubeedge cleanup
otherwise lc cleanup (via kubectl delete) is stuck and lc container is
kept running.
  • Loading branch information
llhuii authored and llhuii committed Jan 28, 2021
1 parent 6eff6fa commit cb3935a
Show file tree
Hide file tree
Showing 2 changed files with 459 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# temp build directories
_output

tmp
*-tmp

# dot files
.*
Loading

0 comments on commit cb3935a

Please sign in to comment.