Questions tagged [minikube]

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day.

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a Virtual Machine (VM) on your computer. It is useful for trying out Kubernetes, and for day-to-day development.

Minikube supports Kubernetes features such as:

  • DNS
  • NodePorts
  • ConfigMaps and Secrets
  • Dashboards
  • Container Runtime: Docker, rkt and CRI-O
  • Enabling CNI (Container Network Interface)
  • Ingress

Find more information at https://github.com/kubernetes/minikube

Ask questions in #minikube at https://kubernetes.slack.com/messages/minikube/

Getting started http://kubernetes.io/docs/getting-started-guides/minikube/

2619 questions
12
votes
2 answers

I can't start Minikube

I have installed Minikube, but when I run minikube start, I get this error: minikube v1.17.1 on Ubuntu 20.04 ✨ Using the docker driver based on existing profile Starting control plane node minikube in cluster minikube Updating the running…
feiz
  • 539
  • 2
  • 6
  • 14
12
votes
6 answers

Namespaces not found

I see the following error when I run my deployment: Error from server (NotFound): error when creating "n3deployment.yaml": namespaces "n2" not found My n3deployment.yaml has no reference to n2? Step By Step Ensure everything is…
A. Gardner
  • 571
  • 2
  • 7
  • 17
12
votes
5 answers

kubectl get pods shows ErrImagePull

Im trying to create a pod using my local docker image as follow. 1.First I run this command in terminal eval $(minikube docker-env) 2.I created a docker image as follow sudo docker image build -t my-first-image:3.0.0 . 3.I created the pod.yml as…
Niranga Sandaruwan
  • 691
  • 2
  • 19
  • 39
12
votes
1 answer

How do I set the imagePullPolicy with Minikube

I am new to Kubernetes. I am trying to follow this tutorial that instructs me on how to use minikube to setup a local service. I was able to get things running with the $ kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
12
votes
2 answers

Minikube does not start, kubectl connection to server was refused

Scouring stack overflow solutions for similar problems did not resolve my issue, so hoping to share what I'm currently experiencing to get help debugging this. So a small preface; I initially installed minikube/kubectl a couple days back. I went…
philip yoo
  • 2,462
  • 5
  • 22
  • 37
12
votes
3 answers

Minikube service URL not working

I'm new to Kubernetes and I'm learning. I have my Windows 8 machine where I installed Vagrant. Using vagrant I'm running ubuntu VM and inside that VM I'm running 3 docker containers. Vagrant file: Vagrant.configure(2) do |config| config.vm.box =…
user2439278
  • 1,222
  • 7
  • 41
  • 75
12
votes
1 answer

minikube service %servicename% --url return nothing

I'm trying to expose my api so I can send request to it. However when I used the command minikube service api --url I get nothing. All my pods are running fine according to kubectl get pods so I'm abit stuck about what this could…
Jake Lacey
  • 623
  • 7
  • 24
12
votes
1 answer

Running MongoDB on Kubernetes Minikube with local persistent storage

I am currently trying to reproduce this tutorial on Minikube: http://blog.kubernetes.io/2017/01/running-mongodb-on-kubernetes-with-statefulsets.html I updated the configuration files to use a hostpath as a persistent storage on minikube node. kind:…
Arkon
  • 2,648
  • 6
  • 26
  • 46
11
votes
9 answers

how to resolve minikube start error : This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory

minikube v1.25.1 on Microsoft Windows 10 Home Single Language 10.0.19043 Build 19043 MINIKUBE_HOME=C:\os\minikube\Minikube Automatically selected the virtualbox driver Starting control plane node minikube in cluster minikube Creating virtualbox…
Pramod Pant
  • 129
  • 1
  • 1
  • 4
11
votes
1 answer

Deploying bitnami/mysql helm chart with an existing Persistence Volume Claim

I'm trying to deploy bitnami/mysql chart inside my minikube. I'm using Kubernetes v1.19, Minikube v1.17.1 and Helm 3 I've created a PVC and PV as follow: kind: PersistentVolumeClaim apiVersion: v1 metadata: name: mysql-pvc spec: …
Jérémy Octeau
  • 689
  • 1
  • 10
  • 26
11
votes
6 answers

sudo: eval: command not found

I have installed minikube on my system and minikube start works as expected for me. When I want to use local docker images and hence trying to run sudo eval $(minikube docker-env). This gives me an error: sudo: eval: command not found Any…
PRERNA AGARWAL
  • 133
  • 1
  • 1
  • 7
11
votes
2 answers

How to get the IP address from "docker-for-desktop" node?

I'm trying to get the IP address of the "docker-for-desktop" node. I'm switching from minikube to docker-for-desktop because it doesn't require VirtualBox. I created a service that exposes a NodePort. When I use minikube context, I'm able to reach…
mathieux51
  • 344
  • 4
  • 10
11
votes
2 answers

how do i get the minikube nodes in a local cluster

Im trying to set up a local cluster using VM and minikube, as Id been reading its only possible to use it for local purposes, but id like to join a secondary machine, and im searching a way to create the join and hash.
Jose Antonio
  • 840
  • 14
  • 25
11
votes
1 answer

Minikube not working in Windows 8

I'm new to Kubernetes. With the help of Kubernetes documentation , I installed minikube(v0.24.1) and kubectl in my Windows machine. VirtualBox(Version 5.1.18) is also installed in my machine. Before starting the minikube, i have executed set…
user2439278
  • 1,222
  • 7
  • 41
  • 75
11
votes
7 answers

minikube dashboard not working

I'm pretty new with Minikube. I want to try minikube in a local machine. I installed ubuntu server and docker. I've downloaded and started minikube using this command: sudo minikube start --vm-driver=none If I type this command: sudo kubectl get…
Fabry
  • 1,498
  • 4
  • 23
  • 47