aboutsummaryrefslogtreecommitdiffstats
path: root/tools/moon_kubernetes/README.md
diff options
context:
space:
mode:
authorAsteroide <thomas.duval@orange.com>2018-03-16 15:47:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-16 15:47:27 +0000
commit6d2dbd0af7da445b39bbb7e16a36260268c685cd (patch)
tree0d98cc8738a3cc4ed5641bf0d7f7a3fade715b03 /tools/moon_kubernetes/README.md
parentc5b353e9813ff2fadfe883352c8cd176a6b5c5a0 (diff)
parent5973b27b997eadc2b4c9601eff7387f3372af6ab (diff)
Merge "add single script to launch kubernete and moon at once"
Diffstat (limited to 'tools/moon_kubernetes/README.md')
-rw-r--r--tools/moon_kubernetes/README.md26
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: