From 7c05aadcf76271bbd34f0f745d4f9619c7a6d833 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Tue, 26 Feb 2019 13:46:03 +0100 Subject: [PATCH 1/3] 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/ From f13f1d39c91bf0db708a9fd494f5589d270a5d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Tue, 26 Feb 2019 13:59:24 +0100 Subject: [PATCH 2/3] Update README.md Co-Authored-By: appinteractive --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6eab3988d..93c530a7f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ $ minikube service nitro-web --namespace=human-connection 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. +If you got the steps right above and see your nodes you can continue. First, install kubernetes dashboard: ```sh From 64bf1bb2a404e3fc71db5f0a05a8b130e73df65c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Tue, 26 Feb 2019 13:59:41 +0100 Subject: [PATCH 3/3] Update README.md Co-Authored-By: appinteractive --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 93c530a7f..8af46e528 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ $ minikube service nitro-web --namespace=human-connection 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` +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`. You could make this change permanent by adding the line to your `.bashrc` or `~/.config/fish/config.fish` depending on your shell. Otherwise you would have to always add `--kubeconfig ~/.kube/THE-NAME-OF-YOUR-CLUSTER-kubeconfig.yaml` on every `kubectl` command that our are running.