How To Install Minikube And Run Your First Kubernetes App
Getting Started with Minikube: Your First Step Into Kubernetes
Search for a command to run...
Getting Started with Minikube: Your First Step Into Kubernetes
No comments yet. Be the first to comment.
রোবোটিক্সের জগতে, সেলফ-ব্যালেন্সিং রোবট এক অদ্ভুত এবং চমৎকার আবিষ্কার। এই রোবটগুলি কোনো বাহ্যিক সহায়তা ছাড়াই নিজেদের ভারসাম্য রক্ষা করতে পারে, ঠিক যেমন একটি সেগওয়ে বা দুটি চাকার স্কুটার। এই রোবটগুলি সেন্সর, মোটর এবং জটিল অ্যালগরিদম ব্যবহার করে ভার...

আজকে মেশিন লার্নিংয়ের কিছু বেসিক বিষয় শিখবো! মেশিন লার্নিং আসলে এমন একটা প্রযুক্তি, যেখানে কম্পিউটার নিজে থেকে শিখে এবং সময়ের সাথে সাথে আরও ভালো সিদ্ধান্ত নিতে থাকে। তো, তিনটি প্রধান ক্যাটেগরিতে মেশিন লার্নিং ভাগ করা হয়: ১. সুপারভাইজড লার্নিং (Superv...

1. Start minikube server: minikube start 2. Show how many pods are running now kubectl get pods -A 3. Access the web dashboard of minikube minikube dashboard 4. Restart deployment kubectl rollout restart deployment spring-boot-app 4. App...
🚀 Getting Started with IoT: Your First IoT Project Explained By Pappuraj | The Dev Lab What is IoT? The Internet of Things (IoT) refers to a network of physical devices—like sensors, microcontrollers, home appliances—that communicate and share data...
The Dev Lab – by Pappuraj
5 posts
Kubernetes is the industry standard for container orchestration, but setting up a full cluster can be complex. Minikube makes it simple—letting you run a local Kubernetes cluster on your laptop or workstation. In this guide, you’ll learn how to install Minikube and deploy your very first app.
Minikube is a tool that lets you run a single-node Kubernetes cluster locally. It’s perfect for learning, prototyping, and development before deploying to a real production cluster.
Operating System: Linux, macOS, or Windows
Virtualization: Enable VT-x/AMD-v in your BIOS if you want to use a VM driver
Package Managers: Homebrew (macOS), Chocolatey (Windows), or apt/yum (Linux)
Kubectl is the command-line tool to interact with Kubernetes clusters.
On Linux:
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl version --client
On macOS:
brew install kubectl
kubectl version --client
On Windows:
choco install kubernetes-cli
kubectl version --client
On Linux:
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
minikube version
On macOS:
brew install minikube
minikube version
On Windows:
choco install minikube
minikube version
minikube start
This command will download a VM image and set up your cluster.
By default, it uses the Docker driver if available; you can specify another driver if needed (e.g., --driver=virtualbox).
Check the status:
minikube status
Check cluster info:
kubectl cluster-info
Let’s deploy a simple Hello World app to your Minikube cluster.
Create a Deployment:
kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0
Expose the Deployment as a Service:
kubectl expose deployment hello-minikube --type=NodePort --port=8080
View the App in Your Browser:
minikube service hello-minikube
View all pods:
kubectl get pods
View all services:
kubectl get svc
SSH into the minikube VM:
minikube ssh
Stop Minikube:
minikube stop
Delete the cluster:
minikube delete
If minikube start fails, try specifying a driver: minikube start --driver=docker or minikube start --driver=virtualbox
If you use Windows, make sure Hyper-V or VirtualBox is installed and enabled.
Use minikube logs to troubleshoot startup problems.
Deploy more complex applications (databases, multi-tier apps)
Explore Minikube add-ons (minikube addons list)
Learn about YAML configuration and Kubernetes manifests
Minikube is your go-to tool for learning Kubernetes locally. With just a few commands, you can have a running cluster and start deploying containerized applications. Play around, break things, and enjoy the world of Kubernetes!
Happy Kubernetes-ing! If you have any questions, drop them in the comments below.