diff options
author | 2017-12-26 15:38:11 +0100 | |
---|---|---|
committer | 2017-12-26 15:38:11 +0100 | |
commit | 69910cdd22ec3b27f3e1f608b317f9683de1dcf6 (patch) | |
tree | 93b38d646d4f42df1eef564ec887dad46356fd46 /tools/moon_kubernetes/README.md | |
parent | 454e9c5f8664ea99ccea2417b6cc3ffb238cf834 (diff) |
moon kubernetes review
Change-Id: I49a62f18ac6ecd06cdbc8e51b4e8ba00971ce6aa
Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'tools/moon_kubernetes/README.md')
-rw-r--r-- | tools/moon_kubernetes/README.md | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/tools/moon_kubernetes/README.md b/tools/moon_kubernetes/README.md index 7f26d276..a74a1321 100644 --- a/tools/moon_kubernetes/README.md +++ b/tools/moon_kubernetes/README.md @@ -28,11 +28,10 @@ apt-get install -y kubelet kubeadm kubectl ``` ## Moon Deployment -### Creation -Execute the script : `init_k8s.sh` +### Initiate K8S ```bash +cd $MOON_HOME/tools/moon_kubernes sudo bash init_k8s.sh -watch kubectl get po --namespace=kube-system ``` Wait until all the kubeadm containers are in the `running` state: @@ -55,11 +54,10 @@ You must see something like this: kube-scheduler-varuna 1/1 Running 0 1h -### Execution -Execute the script : `start_moon.sh` +### Deploy Moon ```bash +cd $MOON_HOME/tools/moon_kubernes sudo bash start_moon.sh -watch kubectl get po --namespace=moon ``` Wait until all the Moon containers are in the `running` state: @@ -79,4 +77,30 @@ You must see something like this: manager-5bfbb96988-fg8vj 1/1 Running 0 51m manager-5bfbb96988-w9wnk 1/1 Running 0 51m orchestrator-65d8fb4574-tnfx2 1/1 Running 0 51m - wrapper-astonishing-748b7dcc4f-ngsvp 1/1 Running 0 51m
\ No newline at end of file + wrapper-astonishing-748b7dcc4f-ngsvp 1/1 Running 0 51m + +### Docker-K8S Port Mapping +```yamlex +manager: + port: 8082 + kport: 30001 +gui: + port: 3000 + kport: 30002 +orchestrator: + port: 8083 + kport: 30003 +consul: + port: 8500 + kport: 30005 +keystone: + port: 5000 + kport: 30006 +wrapper: + port: 8080 + kport: 30010 +interface: + port: 8080 +authz: + port: 8081 +``` |