Installation
ONLINE FREE OPTION: https://labs.play-with-k8s.com
-
-
i. Download
ii. Validate File
iii. Append or prepend the
kubectl
binary folder to yourPATH
environment variable. -
Minikube is a tool that enables you to run a single-node Kubernetes cluster locally on your computer.
It's designed for developers who want to experiment with Kubernetes, develop and test applications, or learn how to use Kubernetes without the need for a full-scale, multi-node cluster.
Not ideal for production.
-
%[civo.com/academy/kubernetes-setup/install-m..
- KUBE ADM
- USING CLOUD PROVIDER: CIVO, AWS, ..
COMMANDS
minikube docker-env
It outputs the environment required by a local docker client to communicate with the remote server of docker(which is created by minikube).
docker ps
list running docker containers
kubectl config current-context
Check if kubectl is pointing to virtual machine of minikube
kubectl get nodes
used to retrieve information about the nodes in your Kubernetes cluster.
kubectl get all --all-namespaces
useful command for retrieving information about all resources (across all namespaces) in your Kubernetes cluster.
minikube stop
preserves all cluster state and data. And stop cluster.
minikube delete
This command is used to delete (shutdown and clean up) a running Minikube Kubernetes cluster on your local machine.
minikube dashboard
This command opens the Kubernetes Dashboard, a web-based user interface for visualizing and interacting with your Minikube Kubernetes cluster.
kubectl config view
This command displays the current configuration of your kubectl
command-line tool, including cluster settings, authentication, and context information for interacting with Kubernetes clusters.