Local Development Environment Setup for Kubernetes using Minikube

Kubernetes is an orchestrator for microservice apps running on containers. It is open source and automates the deployment, scaling and management of containerized applications.

For your local development purpose you might not want to interact with the K8s cluster hosted in Cloud & spend additional dollars. Also debugging can be challenging if you do not have services running locally. So in that case, as the initial step — you can build your docker image and test it locally first by deploying into Minikube.

I have created a video tutorial to setup a local development environment for K8s using Minikube. I will walk you through how to perform the required installations to create a running K8s cluster locally. We will then deploy an app using the K8s CLI. Once done, we will explore the deployed application and environments.

Minikube is a tool that allows you to run a single-node K8s cluster locally. Minikube starts a VM and runs the necessary K8s components. Once the K8s cluster is up, you can interact with it using the K8s CLI – kubectl.

Kubectl is used for running commands to deploy and manage components against your K8s instance. Minikube also configures kubectl for you.


You can find below the scripts used in the demonstration —

Categories: Kubernetes

2 replies


  1. Crash Loop Detection in Kubernetes – dotnetvibes
  2. Kubernetes Architecture – dotnetvibes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: