Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.85 KB

File metadata and controls

59 lines (38 loc) · 1.85 KB

Configuring Kubernetes Cluster using Minikube

Introduction

This section documentation will guide you through the process of configuring a Kubernetes cluster using Minikube. Minikube is a tool that makes it easy to run Kubernetes locally on your machine for development and testing purposes.

For more detailed information about Minikube, you can refer to the official documentation.

Installation

Follow these steps to install Minikube on your Ubuntu machine:

  1. Download the latest Minikube release using the following command:

    curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
  2. Install Minikube using the following command:

    sudo dpkg -i minikube_latest_amd64.deb

If you are using a different operating system, please refer to the Minikube documentation for installation instructions tailored to your environment.

Starting the Kubernetes Cluster

Once Minikube is installed, you can start your Kubernetes cluster with the following command:

minikube start

This command initializes and starts a single-node Kubernetes cluster on your local machine.

Interact with cluster

If you already have kubectl installed, you can now use it to access your shiny new cluster:

kubectl get po -A

Alternatively, minikube can download the appropriate version of kubectl and you should be able to use it like this:

minikube kubectl -- get po -A

You can also make your life easier by adding the following to your shell config:

alias kubectl="minikube kubectl"

We can use kubectl to interact with our cluster.

For additional information refer to official documentation


Previous | Next