From 2db54e83af87fcb4909437cd39e6f3807044f47e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Fri, 26 Jan 2024 14:39:31 +0100 Subject: [PATCH 1/3] Add description for a 1-click install and usage of Kubernetes Dashboard on DigitalOcean --- deployment/src/kubernetes/DigitalOcean.md | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/deployment/src/kubernetes/DigitalOcean.md b/deployment/src/kubernetes/DigitalOcean.md index 6bf854a6d..38b0ada02 100644 --- a/deployment/src/kubernetes/DigitalOcean.md +++ b/deployment/src/kubernetes/DigitalOcean.md @@ -49,6 +49,43 @@ Skip `Patch & Minor Version Upgrades` for now. You don't need a 1-click app. Our helmet script will install the required NGINXs. Therefore, skip this step as well. +For a 1-click Kubernetes Dashboard, follow the next step. + +## Install Kubernetes Dashboard + +We recommend installing a Kubernetes Dashboard, as DigitalOcean no longer offers a pre-installed dashboard. + +- 1-click-deployment of [Kubernetes Dashboard on DigitalOcean marketplace](https://marketplace.digitalocean.com/apps/kubernetes-dashboard) + +There you will also find a section entitled `Getting Started`, which describes how you can log in from your local computer. + +Very short description: + +### In your DigitalOcean Account + +For authentication, download the current cluster configuration file from DigitalOcean. + +### In Terminal + +Set the context of the cluster by command: + +```bash +$ kubectl config use-context +``` + +Port-forward the Kubernetes Dashboard to your local machine: + +```bash +# save pod name +$ export POD_NAME=$(kubectl get pods -n kubernetes-dashboard -l "app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/instance=kubernetes-dashboard" -o jsonpath="{.items[0].metadata.name}") +# forward port +$ kubectl -n kubernetes-dashboard port-forward $POD_NAME 8443:8443 +``` + +### Log-In to Kubernetes Dashboard + +Access the URL in your local web browser at , and log in using your Kubernetes cluster credentials – downloaded config file. You may encounter a certificate warning, so make sure to override it. + ## DNS Configuration There are the following two ways to set up the DNS. From 559b9f2c45f1ef69084f543a681fadd2e7a5e831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Fri, 26 Jan 2024 14:49:03 +0100 Subject: [PATCH 2/3] Fix broken link --- deployment/src/kubernetes/DigitalOcean.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/src/kubernetes/DigitalOcean.md b/deployment/src/kubernetes/DigitalOcean.md index 38b0ada02..fc84c526e 100644 --- a/deployment/src/kubernetes/DigitalOcean.md +++ b/deployment/src/kubernetes/DigitalOcean.md @@ -84,7 +84,7 @@ $ kubectl -n kubernetes-dashboard port-forward $POD_NAME 8443:8443 ### Log-In to Kubernetes Dashboard -Access the URL in your local web browser at , and log in using your Kubernetes cluster credentials – downloaded config file. You may encounter a certificate warning, so make sure to override it. +Access the URL in your local web browser at `https://127.0.0.1:8443/`, and log in using your Kubernetes cluster credentials – downloaded config file. You may encounter a certificate warning, so make sure to override it. ## DNS Configuration From 725d63480319fa03b4ce2f102cf39d3d3cae1f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Mon, 29 Jan 2024 13:10:39 +0100 Subject: [PATCH 3/3] Add description for alternatives to the Kubernetes Dashboard --- deployment/src/kubernetes/DigitalOcean.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deployment/src/kubernetes/DigitalOcean.md b/deployment/src/kubernetes/DigitalOcean.md index fc84c526e..8792ca43d 100644 --- a/deployment/src/kubernetes/DigitalOcean.md +++ b/deployment/src/kubernetes/DigitalOcean.md @@ -49,7 +49,7 @@ Skip `Patch & Minor Version Upgrades` for now. You don't need a 1-click app. Our helmet script will install the required NGINXs. Therefore, skip this step as well. -For a 1-click Kubernetes Dashboard, follow the next step. +For a 1-click Kubernetes Dashboard or alternatives, follow the next steps. ## Install Kubernetes Dashboard @@ -86,6 +86,12 @@ $ kubectl -n kubernetes-dashboard port-forward $POD_NAME 8443:8443 Access the URL in your local web browser at `https://127.0.0.1:8443/`, and log in using your Kubernetes cluster credentials – downloaded config file. You may encounter a certificate warning, so make sure to override it. +## Alternatives to Kubernetes Dashboard + +DigitalOcean has a website about Kubernetes Dashboard and alternatives: + +- + ## DNS Configuration There are the following two ways to set up the DNS.