Minikube Installation Guide
This guide provides all the key information and getting-started instructions after a successful Minikube installation via DeploySage-CLI.
Starting Your Cluster
Minikube provides a single-node Kubernetes cluster running in a local environment (like Docker). The installer has already started the cluster for you.
# Check the status of your local Kubernetes cluster
minikube status
# If you ever stop it, you can restart it with:
minikube start
# Access the Kubernetes dashboard in your browser
minikube dashboard
Interacting with Kubernetes via kubectl
The installer also configured kubectl, the command-line tool for interacting with your Kubernetes cluster.
# Verify kubectl can connect to the cluster
kubectl cluster-info
# Get a list of all nodes in your cluster (should be one)
kubectl get nodes
# Deploy a sample application
kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0
# Expose the application as a service
kubectl expose deployment hello-minikube --type=NodePort --port=8080
# Get the URL to access your service
minikube service hello-minikube --url
Key Directories and Files
| Item | Value |
|---|---|
| Minikube Configuration | ~/.minikube/ |
| kubectl Configuration | ~/.kube/config |