Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 559 Bytes

install_kubernetes.md

File metadata and controls

34 lines (23 loc) · 559 Bytes

Install to Kubernetes

You have to read Common Installation Steps before reading this document.

cd $PROJECT_ROOT/kubernetes

(1) Create a namespace

kubectl create namespace ecoman
kubectl config set-context --current --namespace=ecoman

(2) Regist ssh private key to secret

Create a secret

kubectl create secret generic priv-key --from-file=ssh/id_rsa

(3) Create a ConfigMap for hosts.yml

kubectl create configmap hosts-config --from-file=hosts.example.yml

(4) Apply manifests

kubectl apply -f .