minikube Installation
    • PDF

    minikube Installation

    • PDF

    Article Summary

    Install minikube to run a Kubernetes cluster

    The following guide will enable you to install minikube on your local dev machines.

    For more information please see minikube documentation.

    Prerequisites

    • Install Docker

    • Assign the following resources in Docker Desktop under Settings -> Resources.

      • Minimum Resources:
        • 4 CPUs
        • 20 GB Free Disk Space
      • Maximum Resources:
        • Assign maximum memory to 16 GB

    • Delete any preexisting minikube configurations:
    minikube delete --all --purge
    

    Install minikube



    Install minikube on Windows

    1. Download and install minikube.

    2. If you're shown a prompt warning from Windows SmartScreen saying 'Unknown publisher', click Run anyway and complete installation.

    3. Start minikube by running the command below in a command prompt or powershell.

    minikube start
    
    1. Verify if you can interact with the cluster using kubectl.
    kubectl get ns
    



    Install minikube on Mac

    1. Install minikube using Brew.
    brew install minikube
    
    1. Check if minikube is added to the path.
    which minikube
    
    1. Configure minikube with the minimum required resources.
    minikube config set memory max
    minikube config set cpus 4
    
    1. Start minikube.
    minikube start
    
    1. Check status.
    minikube status
    
    1. Verify if you can interact with the cluster using kubectl.
    kubectl get ns
    



    Install Minikube on Linux

    1. Download the minikube binary and install it.
    curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
    sudo install minikube-linux-amd64 /usr/local/bin/minikube
    
    1. Check if minikube is added to the path.
    which minikube
    
    1. Start minikube.
    minikube start --driver=docker --force
    
    
    1. Check status.
    minikube status
    
    1. Verify if you can interact with the cluster using kubectl.
    kubectl get ns
    



    Once you have successfully installed minikube, you are now ready to install Glasswall Halo via minikube.


    Was this article helpful?