DevOps, Day - 31
Launching Your First Kubernetes Cluster With Nginx Running
Minikube is a tool which quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows. It can deploy as a VM, a container, or on bare metal.
Minikube is a pared-down version of Kubernetes that gives you all the benefits of Kubernetes with a lot less effort.
This makes it an interesting option for users who are new to containers, and also for projects in the world of edge computing and the Internet of Things.
(a) Supports the latest Kubernetes release (+6 previous minor versions)
(b) Cross-platform (Linux, macOS, Windows)
(c) Deploy as a VM, a container, or on bare-metal
(d) Multiple container runtimes (CRI-O, containers, docker)
(e) Direct API endpoint for blazing-fast image load and build
(f) Advanced features such as LoadBalancer, filesystem mounts, FeatureGates, and network policy
(g) Addons for easily installed Kubernetes applications
(h) Supports common CI environments
For installation in your OS, you can Visit this page.
Step 1: Install kubectl
and check the version.
sudo snap install kubectl --classic
Step 2: Install minikube
and check the version. (For Ubuntu Users)
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube
sudo mv minikube /usr/local/bin/
Step 3: Start the minikube.
Step 1: Create a Pod Configuration File
Step 2: Apply the Pod Configuration
Step 3: Verify the Pod Status
Step 4: Access the Nginx Web Server.
Thank you so much for reading
Follow me on LinkedIn to see interesting posts like this : )