mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #11 from Human-Connection/improve-documentation
Improved documentation for remote deployment
This commit is contained in:
commit
086347e977
11
README.md
11
README.md
@ -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/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user