{"id":4114,"date":"2024-04-13T21:19:39","date_gmt":"2024-04-14T01:19:39","guid":{"rendered":"https:\/\/dft.wiki\/?p=4114"},"modified":"2026-06-08T10:39:23","modified_gmt":"2026-06-08T14:39:23","slug":"kubernetes-web-ui-dashboard-walk-though","status":"publish","type":"post","link":"https:\/\/dft.wiki\/?p=4114","title":{"rendered":"Kubernetes Web-UI Dashboard Walk-though"},"content":{"rendered":"<p>The <strong>Kubernetes Dashboard<\/strong> is an add-on available in all major K8s platforms.<\/p>\n<p>In this walk-through, I will review how to access the Web UI Dashboard for <strong>MicroK8s<\/strong>, <strong>Minikube<\/strong>, and <strong>K3s<\/strong>. Then, I will follow the steps from the Kubernetes Demo post [<a href=\"https:\/\/dft.wiki\/?p=3122\">Link<\/a>] to demonstrate key components when navigating the Dashboard.<\/p>\n<hr \/>\n<p><strong>ACCESSING THE DASHBOARD<\/strong><\/p>\n<p><strong>MicroK8s<\/strong> &#8211; Explained in detail at [<a href=\"https:\/\/dft.wiki\/?p=3151\">Link<\/a>].<\/p>\n<pre>sudo microk8s enable dashboard\r\nsudo microk8s kubectl create token default\r\nsudo microk8s kubectl port-forward -n kube-system service\/kubernetes-dashboard 8001:443<\/pre>\n<p><strong>Minikube<\/strong> &#8211; Explained in detail at [<a href=\"https:\/\/dft.wiki\/?p=3087\">Link<\/a>].<\/p>\n<pre>minikube addons enable dashboard\r\nminikube kubectl -n kube-system describe secret $(minikube kubectl -n kube-system get secret | awk '\/^deployment-controller-token-\/{print $1}') | awk '$1==\"token:\"{print $2}'\r\nminikube kubectl proxy --address='0.0.0.0' --disable-filter=true<\/pre>\n<p><strong>K3s<\/strong> &#8211; Explained in detail at [<a href=\"https:\/\/dft.wiki\/?p=3105\">Link<\/a>].<\/p>\n<pre>k3s kubectl -n kubernetes-dashboard create token admin-user\r\nk3s kubectl proxy<\/pre>\n<ul>\n<li><strong>IN ALL CASES<\/strong>\n<ul>\n<li>Navigate to <a href=\"http:\/\/127.0.0.1:8001\">http:\/\/127.0.0.1:8001<\/a> (if it fails, try <strong>HTTPS<\/strong>) and paste the generated token.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<p><strong>DASHBOARD WALK-THROUGH<\/strong><\/p>\n<p>For this walk-through, I previously deployed demo resources from the <strong>Kubernetes Demo<\/strong> post [<a href=\"https:\/\/dft.wiki\/?p=3122\">Link<\/a>], which are also available in this public repository [<a href=\"https:\/\/github.com\/davift\/k8s-manifests-template\">Link<\/a>].<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4122\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-40.png\" alt=\"\" width=\"1598\" height=\"982\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-40.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-40-300x184.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-40-1024x629.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-40-768x472.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-40-1536x944.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Switch to the created Namespace.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4123\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-50.png\" alt=\"\" width=\"1598\" height=\"982\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-50.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-50-300x184.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-50-1024x629.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-50-768x472.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-15-50-1536x944.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4124\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-04.png\" alt=\"\" width=\"1598\" height=\"1229\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-04.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-04-300x231.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-04-1024x788.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-04-768x591.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-04-1536x1181.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>In <strong>Deployments<\/strong>, first scale up the desired capacity to 5, then edit the deployment configuration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4125\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-44.png\" alt=\"\" width=\"1598\" height=\"767\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-44.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-44-300x144.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-44-1024x491.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-44-768x369.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-16-44-1536x737.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4126\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-01.png\" alt=\"\" width=\"1598\" height=\"767\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-01.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-01-300x144.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-01-1024x491.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-01-768x369.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-01-1536x737.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4127\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-11.png\" alt=\"\" width=\"1598\" height=\"753\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-11.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-11-300x141.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-11-1024x483.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-11-768x362.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-11-1536x724.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4128\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-39-45.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-39-45.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-39-45-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-39-45-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-39-45-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-39-45-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Note that the manifest was updated in the cluster, not in the source <code>deployment.yaml<\/code>.<\/p>\n<p>In <strong>Pods<\/strong>, there are now 5 pods running: the original single replica plus the 4 newly scaled replicas.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4129\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-48.png\" alt=\"\" width=\"1598\" height=\"1167\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-48.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-48-300x219.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-48-1024x748.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-48-768x561.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-17-48-1536x1122.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Check out <strong>Logs<\/strong> and <strong>Exec<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4130\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-26.png\" alt=\"\" width=\"1598\" height=\"870\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-26.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-26-300x163.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-26-1024x557.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-26-768x418.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-26-1536x836.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><strong>Logs<\/strong> shows the container&#8217;s console output.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4131\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-13.png\" alt=\"\" width=\"1598\" height=\"870\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-13.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-13-300x163.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-13-1024x557.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-13-768x418.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-13-1536x836.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><strong>Exec<\/strong> opens a shell inside the container with full permissions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4132\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-30.png\" alt=\"\" width=\"1598\" height=\"870\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-30.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-30-300x163.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-30-1024x557.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-30-768x418.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-18-30-1536x836.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Both <strong>Logs<\/strong> and <strong>Exec<\/strong> are useful features for development and troubleshooting.<\/p>\n<p>In <strong>Replica Sets<\/strong>, similar features are available such as <strong>Logs<\/strong> and <strong>Scale<\/strong>, along with additional resource information.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4133\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-07.png\" alt=\"\" width=\"1598\" height=\"783\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-07.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-07-300x147.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-07-1024x502.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-07-768x376.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-07-1536x753.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>In the <strong>Service<\/strong> section, navigate to <strong>Ingresses<\/strong>. These can also be edited manually in YAML or JSON.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4136\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-48.png\" alt=\"\" width=\"1598\" height=\"783\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-48.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-48-300x147.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-48-1024x502.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-48-768x376.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-48-1536x753.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4137\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-54.png\" alt=\"\" width=\"1598\" height=\"783\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-54.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-54-300x147.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-54-1024x502.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-54-768x376.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-19-54-1536x753.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4139\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-06.png\" alt=\"\" width=\"1598\" height=\"783\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-06.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-06-300x147.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-06-1024x502.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-06-768x376.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-06-1536x753.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>The same applies to <strong>Ingress Classes<\/strong> and <strong>Services<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4141\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-34.png\" alt=\"\" width=\"1598\" height=\"783\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-34.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-34-300x147.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-34-1024x502.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-34-768x376.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-34-1536x753.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4140\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-18.png\" alt=\"\" width=\"1598\" height=\"783\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-18.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-18-300x147.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-18-1024x502.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-18-768x376.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-20-18-1536x753.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Under <strong>Config and Storage<\/strong>, navigate to <strong>Secrets<\/strong> and edit a secret.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4142\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-17.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-17.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-17-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-17-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-17-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-17-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4143\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-21.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-21.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-21-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-21-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-21-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-21-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4145\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-27.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-27.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-27-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-27-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-27-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-21-27-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>The secret is stored as <strong>Base64<\/strong> at the end of the resource configuration, but it also appears in plain text in the &#8220;annotations&#8221; field. It is strongly recommended to use secrets that are encrypted or encoded, with the application handling decoding at runtime.<\/p>\n<p>In the <strong>Cluster<\/strong> section, under <strong>Events<\/strong>, there is a log of every action applied to resources.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4148\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-04.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-04.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-04-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-04-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-04-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-04-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Under <strong>Namespaces<\/strong>, namespaces can be modified to better organize project resources and maintain isolation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4149\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-12.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-12.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-12-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-12-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-12-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-12-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4150\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-15.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-15.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-15-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-15-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-15-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-15-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>Finally, under <strong>Nodes<\/strong>, system metrics for the cluster nodes can be visualized.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4146\" src=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-26.png\" alt=\"\" width=\"1598\" height=\"815\" srcset=\"https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-26.png 1598w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-26-300x153.png 300w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-26-1024x522.png 1024w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-26-768x392.png 768w, https:\/\/dft.wiki\/wp-content\/uploads\/sites\/15\/2024\/04\/Screenshot-from-2024-04-13-10-22-26-1536x783.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<hr \/>\n<p><strong>REFLECTIONS<\/strong><\/p>\n<p>The Kubernetes Dashboard should never be directly exposed to the internet or left continuously running. It is a convenient tool for a visual overview of deployed resources and for making simple configuration tweaks.<\/p>\n<p>The proper way to manage Kubernetes resources is through source control tools like Git, combined with a pipeline for automatic deployment of changes.<\/p>\n<p>If the dashboard is needed in a production environment, use SSH tunneling to access the exposed port on the remote server&#8217;s localhost. See example:<\/p>\n<pre>ssh -L 8001:localhost:8001 k8s-server.com<\/pre>\n<hr \/>\n<p><strong>SEE ALSO<\/strong><\/p>\n<p><strong>Minikube<\/strong> on Ubuntu 22.04 [<a href=\"https:\/\/dft.wiki\/?p=3087\">Link<\/a>].<\/p>\n<p><strong>MicroK8s<\/strong> on Ubuntu 22.04 [<a href=\"https:\/\/dft.wiki\/?p=3151\">Link<\/a>].<\/p>\n<p><strong>K3s<\/strong> on Ubuntu 22.04 [<a href=\"https:\/\/dft.wiki\/?p=3105\">Link<\/a>].<\/p>\n<p><strong>Kubernetes<\/strong> Persistent Volumes [<a href=\"https:\/\/dft.wiki\/?p=1435\">Link<\/a>].<\/p>\n<p><strong>Kubernetes<\/strong> Cheat Sheet [<a href=\"https:\/\/dft.wiki\/?p=1372\">Link<\/a>].<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Kubernetes Dashboard is an add-on available in all major K8s platforms. In this walk-through, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-4114","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/4114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4114"}],"version-history":[{"count":10,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/4114\/revisions"}],"predecessor-version":[{"id":5624,"href":"https:\/\/dft.wiki\/index.php?rest_route=\/wp\/v2\/posts\/4114\/revisions\/5624"}],"wp:attachment":[{"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dft.wiki\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}