by MorningSpace
$ git clone https://github.com/morningspace/lab-k8s-playground.git
$ vagrant up
$ git clone https://github.com/morningspace/lab-k8s-playground.git
$ ./install/launch.sh init
$ . ~/.bashrc # or re-login from terminal to auto-reload .bashrc
$ launch default
$ launch
Usage: launch [targets]
Targets are separated by space and launch in order of appearance one by one.
Special pre-defined targets:
* base will launch target docker, docker-compose, and kubectl
* default will launch target base, registry, and kubernetes
e.g.
launch default tools istio
launch kubernetes
$ launch kubernetes::snapshot
$ launch kubernetes::down
$ launch kubernetes::up
$ vi ./install/targets/images.list
$ launch registry
$ export REGISTRY_REMOTE=<your_remote_registry_ip>
$ launch registry-proxy
# Just for fun;-) Choose one case then find the link(s) and click!
function to_learn_more {
case $I_want in
"to learn what it provides in general")
cat "All-in-One K8S Playground Overview"
;;
"to get started quickly")
cat "All-in-One K8S Playground Usage Guide"
cat "All-in-One K8S Playground 中文使用指南"
;;
"to understand what's behind")
cat "Launch multi-node k8s cluster locally in one minute, and more..."
cat "视频教程 - Kubernetes实战: 如何1分钟内在本地启动一个多节点集群"
cat "OpenShift v3的填坑之旅"
cat "OpenShift v4的填坑之旅"
;;
"to extend it by myself")
cat "Launch Utility Usage Guide"
cat "A Sample Target for Demo Purpose"
;;
"to learn more cool features")
cat "Quick Guide to Launch APIC Playground"
cat "把API Connect关进All-in-One K8S Playground里"
cat "All-in-One K8S Playground新增OpenShift支持"
cat "All-in-One K8S Playground支持OpenShift v4"
;;
"to contribute back")
# Feel free to Watch Star and Fork
git clone https://github.com/morningspace/lab-k8s-playground.git
;;
esac
}
(MorningSpace Lab)
Created by MorningSpace