Merge pull request #11 from Human-Connection/improve-documentation

Improved documentation for remote deployment
This commit is contained in:
Grzegorz Leoniec 2019-02-26 14:20:52 +01:00 committed by GitHub
commit 086347e977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,17 @@ $ minikube service nitro-web --namespace=human-connection
## Digital Ocean ## 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`. 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.
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 continue.
First, install kubernetes dashboard: First, install kubernetes dashboard:
```sh ```sh
$ kubectl apply -f dashboard/ $ kubectl apply -f dashboard/