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
11
votes
4 answers

How I can add root CA to minikube?

My company uses it's own root CA and when I'm trying to pull images. Even from a private registry I'm getting error: 1h 3m 22 {kubelet minikube} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer"…
arykalin
  • 393
  • 1
  • 3
  • 11
10
votes
3 answers

Terraform fails to create ingress (could not find the requested resource ingresses.extensions)

I'm using minikube locally. The following is the .tf file I use to create my kubernetes cluster: provider "kubernetes" { config_path = "~/.kube/config" } resource "kubernetes_namespace" "tfs" { metadata { name = "tfs" # terraform-sandbox …
Max
  • 907
  • 2
  • 13
  • 27
10
votes
3 answers

minikube ip returns 127.0.0.1 | Kubernetes NodePort service not accessable

I have two kubernetes objects, apiVersion: v1 kind: Pod metadata: name: client-pod labels: component: web spec: containers: - name: client image: stephengrider/multi-client resources: limits: memory: "128Mi" …
Sathish
  • 2,056
  • 3
  • 26
  • 40
10
votes
2 answers

Unable to get ClusterIP service url from minikube

I have created a ClusterIP service according to configuration files below, however I can't seem to get the URL from minikube for that service k create -f service-cluster-definition.yaml ➜ minikube service myapp-frontend --url …
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
10
votes
2 answers

Does kubectl port-forward ignore loadBalance services?

My Environment: Mac dev machine with latest Minikube/Docker I built (locally) a simple docker image with a simple Django REST API "hello world".I'm running a deployment with 3 replicas. This is my yaml file for defining it: apiVersion: v1 kind:…
JasonGenX
  • 4,952
  • 27
  • 106
  • 198
10
votes
2 answers

How can I install minikube on Mac OS Catalina

The provided methods on the Kubernetes documentation don't work and brew cask no longer seems to have the minikube formulae as of Mac OS Catalina. Error: Cask 'minikube' is unavailable: No Cask with this name exists. When I download it with curl it…
martinkaburu
  • 487
  • 6
  • 18
10
votes
2 answers

kubectl apply --dry-run behaving weirdly

I am facing a weird behaviour with kubectl and --dry-run. To simplify let's say that I have the following yaml file: apiVersion: extensions/v1beta1 kind: Deployment metadata: labels: run: nginx name: nginx spec: replicas: 3 selector: …
GalloCedrone
  • 4,869
  • 3
  • 25
  • 41
10
votes
3 answers

How do I see a list of all minikube clusters running in Docker on my mac?

I run a Kubernetes cluster on my mac using the latest Docker community edition. I usually do: $ minikube start --vm-driver=hyperkit and it works well for me. Today, I ran that command multiple times in a script. Now, how do I know how many…
user674669
  • 10,681
  • 15
  • 72
  • 105
10
votes
4 answers

Hyper-v and VirtualBox conflict in Dockers with Minikube

I'm trying to scale my docker containers with Minikube on Windows 10 Enterprise Edition. However, I'm running into a few conflicts with Hyper-V and VirtualBox. I know Dockers require Hyper-V to run properly while Minikube requires VirtualBox to run…
Rking14
  • 325
  • 2
  • 5
  • 17
10
votes
1 answer

External ip for kubernetes shows in minikube

I am fairly new to Kubernetes and I have recently exposed a service using miniKube using NodePort type. I want to test the running of my application but I dont see any external ip but the port only. Here is the output of my: $kubectl get…
Akash
  • 939
  • 1
  • 8
  • 27
9
votes
4 answers

Unable to access my minikube cluster from the browser (❗ Because you are using a Docker driver on windows, the terminal needs to be open to run it.)

I am trying to access a simple minikube cluster from the browser, but I keep getting the following: ❗ Because you are using a Docker driver on windows, the terminal needs to be open to run it. I've created an external service for the cluster with…
Mo Shameri
  • 107
  • 1
  • 5
9
votes
7 answers

Unable to access minikube IP address

I am an absolute beginner to Kubernetes, and I was following this tutorial to get started. I have managed writing the yaml files. However once I deploy it, I am not able to access the web app. This is my webapp yaml file apiVersion: apps/v1 kind:…
Libin Joseph
  • 7,070
  • 5
  • 29
  • 52
9
votes
1 answer

I getting always" no space left on device" issue in minikube even system have free space , how to resolve?

I'm running minikube (version: v1.10.1) with Helm 3 in a local system with ubuntu-16.04 and docker version 19.03.8. Currently, I'm getting a "no space left" issue even when the local disk has more than enough space. How can I increase the space?…
shufilkhan
  • 521
  • 2
  • 6
  • 22
9
votes
2 answers

FailedScheduling default-scheduler 0/1 nodes are available: 1 node(s) were unschedulable

I'm recently getting started on kubernetes. I have encoutered FailedScheduling default-scheduler 0/1 nodes are available: 1 node(s) were unschedulable and am not sure what is happening. Is it because there are not enough resources for a…
peng Jack
  • 305
  • 1
  • 3
  • 8
9
votes
2 answers

How do I change the location of .minikube folder?

How do I change the location of the entire .minikube folder that gets created when you run minikube? (Windows 10 system using Hyper-V) C:\Users\username\.minikube
erotavlas
  • 4,274
  • 4
  • 45
  • 104