Skip to content

gahlberg/minikube-ubuntu-install-directions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

minikube-ubuntu-install-directions

Directions to install Minikube on Ubuntu 18.04

Directions to install and run Minikube!

  1. Update Ubuntu dependencies:

    sudo apt-get update
    
    sudo apt-get install -y apt-transport-https
    
  2. Install VirtualBox on Ubuntu:

    sudo apt-get install -y virtualbox virtualbox-ext-pack
    
  3. Install latest Docker:

    sudo apt-get install -y docker.io
    
  4. Install kubectl binary with curl on Linux

    Download the latest release with the command:

    curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
    
    (To download a specific version, replace the $(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) portion of the command with the specific version.
    

    For example, to download version v1.15.0 on Linux, type:

    curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.15.0/bin/linux/amd64/kubectl)
    

    Make the kubectl binary executable:

    chmod +x ./kubectl
    

    Move the binary in to your PATH:

    sudo mv ./kubectl /usr/local/bin/kubectl
    

    Test to ensure the version you installed is up-to-date:

    kubectl version
    
  5. Install Minikube:

    curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
    && chmod +x minikube
    
  6. Add the Minikube executable to your path:

    sudo install minikube /usr/local/bin
    
  7. Launch Minikube:

    minikube start
    
  8. To access externally from your LAN run the following command on the machine locally:

    kubectl proxy --address='0.0.0.0' --disable-filter=true
    

    & should be able to access via:

    http://IP_Address_of_your_machine:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/
    
  9. Optional - locally launch on your machine:

    minikube dashboard
    
  10. Stop minikube:

    minikube stop
    
  11. Delete instance

    minikube delete
    

About

Directions to install Minikube on Ubuntu 18.04

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published