From 1b21e61269223d9a9b97112e75606b1f612a0a24 Mon Sep 17 00:00:00 2001 From: WuKong Date: Sun, 24 Dec 2017 10:58:37 +0100 Subject: K8S doc Change-Id: Ib3bbcb20a7139cad37dfcff39e5355f342284ae7 Signed-off-by: WuKong --- kubernetes/README.md | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/README.md b/kubernetes/README.md index 04d54924..b5320dd6 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -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 -- cgit 1.2.3-korg