diff options
author | francois.cellier <francois.cellier@orange.com> | 2018-03-09 12:36:46 +0100 |
---|---|---|
committer | francois.cellier <francois.cellier@orange.com> | 2018-03-16 16:36:45 +0100 |
commit | 5973b27b997eadc2b4c9601eff7387f3372af6ab (patch) | |
tree | e4f38555daa39c09559f06fc21cb9656ab1b2003 /tools/moon_kubernetes/README.md | |
parent | 4fca7b2db378fa5a97a2bd03ccdc934f9e57e150 (diff) |
add single script to launch kubernete and moon at once
Change-Id: I6cd5c0ce3a08d4d895fdeac15233abe552570f54
Diffstat (limited to 'tools/moon_kubernetes/README.md')
-rw-r--r-- | tools/moon_kubernetes/README.md | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/tools/moon_kubernetes/README.md b/tools/moon_kubernetes/README.md index 2077e580..e75fe086 100644 --- a/tools/moon_kubernetes/README.md +++ b/tools/moon_kubernetes/README.md @@ -28,17 +28,17 @@ apt-get install -y kubelet kubeadm kubectl ``` ## Moon Deployment -### Initiate K8S +### Deploy kubernete and moon ```bash cd $MOON_HOME -bash tools/moon_kubernetes/init_k8s.sh +bash tools/moon_kubernetes/init_k8s_moon.sh ``` +This will wait for kubernetes and then moon to be up -Wait until all the kubeadm containers are in the `running` state: +To check that the platform is running correctely, ```bash watch kubectl get po --namespace=kube-system ``` - You must see something like this: $ kubectl get po --namespace=kube-system @@ -53,14 +53,6 @@ You must see something like this: kube-proxy-x88wg 1/1 Running 0 1h kube-scheduler-varuna 1/1 Running 0 1h - -### Deploy Moon -```bash -cd $MOON_HOME -sudo bash tools/moon_kubernetes/start_moon.sh -``` - -Wait until all the Moon containers are in the `running` state: ```bash watch kubectl get po --namespace=moon ``` @@ -79,6 +71,16 @@ You must see something like this: orchestrator-65d8fb4574-tnfx2 1/1 Running 0 51m wrapper-astonishing-748b7dcc4f-ngsvp 1/1 Running 0 51m + +### Deploy or redeploy Moon only + +Kubernete shall be running. + +```bash +cd $MOON_HOME +sudo bash tools/moon_kubernetes/init_k8s_moon.sh moon +``` + ### Troubleshoot check *Consul* for: |