From 7c05aadcf76271bbd34f0f745d4f9619c7a6d833 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 26 Feb 2019 13:46:03 +0100 Subject: [PATCH] Add some more information how to setup the configuration right before deploying to a remote cluster --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f0c71ba84..6eab3988d 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,17 @@ $ minikube service nitro-web --namespace=human-connection ## Digital Ocean +1. At first, create a cluster on Digital Ocean. +2. Download the config.yaml if the process has finished. +3. Put the config file where you can find it later (preferable in your home directory under `~/.kube/`) +4. In the open terminal you can set the current config for the active session: `export KUBECONFIG=~/.kube/THE-NAME-OF-YOUR-CLUSTER-kubeconfig.yaml` + + Otherwise you would have to always add `--kubeconfig ~/.kube/THE-NAME-OF-YOUR-CLUSTER-kubeconfig.yaml` on every `kubectl` command that our are running. + +5. Now check if you can connect to the cluster and if its your newly created one by running: `kubectl get nodes` + +If you got the steps right above and see your nodes you can precede. + First, install kubernetes dashboard: ```sh $ kubectl apply -f dashboard/