- 3All-in-One
- 3.1Deploy
- 6Stop Dashboard Service
Purpose
- At the moment kubernetes server components doesn't ship any Darwin OS (MAC OS) binaries so the control plane component can't directly run under MACOS. Although they ship kubectl for Darwin OS which can use any API Server to connect to and deploy the applications.
- Qubes OS is a free and open-source, security-oriented operating system for single-user desktop computing. Qubes OS leverages Xen-based virtualization to allow for the creation and management of isolated compartments called qubes.
This article gives the steps to set up a web-based GUI Dashboard for Kubernetes locally. Kubernetes distribution does not come with its dashboard enabled.
Prerequisites
Mac Os Download
All-in-One
Or use individual steps:
Minikube Like kind, minikube is a tool that lets you run Kubernetes locally. Skyscrappers (itch) mac os. Minikube runs a single-node Kubernetes cluster on your personal computer (including Windows, macOS and Linux PCs) so that you can try out Kubernetes, or for daily development work.
Deploy
Fetch Default Token
Set Credentails for docker-for-desktop Context
Start
OR
- Run in Background
- Run in Background with Log
Access Dashboard
- Browse to the URL
- http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
- Select Kubeconfig Authentication
- Enter (CMD+SHIFT+G) / Browse to $HOME/.kube/config
- Select Login
List Running Dashboard Pod
Kube Mac Os Download
Stop Dashboard Service
![Kube Mac OS Kube Mac OS](https://miro.medium.com/max/4768/1*N2TmMYRqfCcHrYErZJ9JNA.png)
- Discover Process ID
- Kill Process
One Liner
Example BASH Profile Script to Setup and Control
Related Articles
Sources
Retrieved from 'https://www.bonusbits.com/index.php?title=HowTo:Setup_Kubernetes_Local_Dashboard_on_macOS&oldid=10096'