K8S doc 89/49589/1
authorWuKong <rebirthmonkey@gmail.com>
Sun, 24 Dec 2017 09:58:37 +0000 (10:58 +0100)
committerWuKong <rebirthmonkey@gmail.com>
Sun, 24 Dec 2017 09:58:37 +0000 (10:58 +0100)
Change-Id: Ib3bbcb20a7139cad37dfcff39e5355f342284ae7
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
kubernetes/README.md

index 04d5492..b5320dd 100644 (file)
@@ -1,10 +1,7 @@
-
-# Installation
-
-Choose the right deployment:
-
-## Minikube installation
-
+# Moon Platform Setup
+## K8S Installation
+Choose the right K8S platform
+### Minikube
 ```bash
 curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
 chmod +x ./kubectl
@@ -12,10 +9,8 @@ sudo mv ./kubectl /usr/local/bin/kubectl
 curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.21.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
 ```
 
-## Kubeadm installation
-
+### Kubeadm
 see: https://kubernetes.io/docs/setup/independent/install-kubeadm/
-
 ```bash
 apt-get update && apt-get install -y apt-transport-https
 curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
@@ -26,23 +21,17 @@ apt-get update
 apt-get install -y kubelet kubeadm kubectl
 ```
 
-# Platform
-
-## Creation
-
+## Moon Deployment
+### Creation
 Execute the script : init_k8s.sh
-
 ```bash
 sudo bash init_k8s.sh
 watch kubectl get po --namespace=kube-system
 ```
-
 Wait until all pods are in "Running" state (crtl-c to stop the watch command)
 
-## Execution
-
+### Execution
 Execute the script : start_moon.sh
-
 ```bash
 sudo bash start_moon.sh
 watch kubectl get po --namespace=moon