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
17
votes
5 answers

During local development with Kubernetes/minikube, how should I connect to postgres database running on localhost?

I've set up an application stack running on Google Kubernetes Engine + Google Cloud SQL. When developing locally, I would like my application to connect to a postgres database server running outside the cluster to simulate the production…
lasersox
  • 171
  • 1
  • 1
  • 3
16
votes
8 answers

can't start minikube in ec2 shows "X Sorry, Kubernetes v1.18.0 requires conntrack to be installed in root's path"

Hi I am trying to start minikube that's why I ran minikube start --vm-driver=none But it shows in the console the below lines: minikube v1.9.2 on Amazon 2 (Xen/amd64) Using the none driver based on user configuration X Sorry, Kubernetes…
megh
  • 171
  • 1
  • 1
  • 10
16
votes
2 answers

Error restarting cluster: restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition

I am trying to start a local Kubernetes cluster using minikube start and getting the following error. Starting local Kubernetes v1.10.0 cluster... Starting VM... Getting VM IP address... Moving files into cluster... Setting up certs... Connecting to…
Satyajit Das
  • 2,740
  • 5
  • 16
  • 30
16
votes
9 answers

Minikube: kubectl connection refused - did you specify the right host or port?

I try to run minikube v0.22.1 and kubectl v1.7.5 on MacOS with Virtualbox. $ minikube start Starting local Kubernetes v1.7.5 cluster... Starting VM... Getting VM IP address... Moving files into cluster... Setting up certs... Connecting to…
FrankSchulz
  • 394
  • 1
  • 4
  • 6
16
votes
4 answers

(Kubernetes + Minikube) can't get docker image from local registry

I have setup docker on my machine and also minikube which have docker inside it, so probably i have two docker instances running on different VM I build an image and tag it then push it to local registry and it pushed successfully and i can pull it…
mibrahim.iti
  • 1,928
  • 5
  • 22
  • 50
15
votes
5 answers

minkube start..gives error: "Exiting due to RSRC_INSUFFICIENT_CORES"..Is it possible to start minikube on this Mac with 2 CPU cores?

I want to start minikube to learn Kubernetes but am having trouble because of error RSRC_INSUFFICIENT_CORES. My mac has 2 CPU cores and minikube docs say that 2 cores are required. Here a the machine specs from "About this Mac": MacBook Pro…
botanyhelp
  • 153
  • 1
  • 1
  • 5
15
votes
3 answers

Access mysql running on localhost from minikube

I am running some services in minikube and trying to connect to mysql running on localhost(127.0.0.1) on 3306 port. I read this and trying to create service and Endpoints. However, when I specify 127.0.0.1 as IP, it throws error as below: The…
Nirav
  • 602
  • 1
  • 10
  • 28
15
votes
8 answers

Determine what resource was not found from "Error from server (NotFound): the server could not find the requested resource"

I'm running kubectl create -f notRelevantToThisQuestion.yml The response I get is: Error from server (NotFound): the server could not find the requested resource Is there any way to determine which resource was requested that was not…
Glen Pierce
  • 4,401
  • 5
  • 31
  • 50
15
votes
1 answer

Minikube error - " unknown field "app" in io.k8s"

I receive the following error after running kubectl apply -f node.deployment.yml With the following YAML config: 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: node-deployment 5 labels: 6 app: node-app 7 spec: …
Chen
  • 2,958
  • 5
  • 26
  • 45
15
votes
1 answer

ImagePullSecrets GCR

I am having an issue configuring GCR with ImagePullSecrets in my deployment.yaml file. It cannot download the container due to permission Failed to pull image "us.gcr.io/optimal-jigsaw-185903/syncope-deb": rpc error: code = Unknown desc = Error…
14
votes
2 answers

Minikube to deploy linux/amd64 images on M1 hardware

I know it's possible to run locally on Apple's M1 processor an amd64 image by using the --platform linux/amd64 flag on docker run. But how do I deploy that same image on a local Minikube cluster, running on this same M1 hardware? Output when trying…
alpha_hotel
  • 141
  • 4
14
votes
3 answers

minikube - Why The "docker" driver should not be used with root privileges

When trying to start minikube with docker driver, as a root user I get: $ minikube start --driver=docker * minikube v1.16.0 on Ubuntu 18.04 * Using the docker driver based on user configuration * The "docker" driver should not be used with root…
RafaelJan
  • 3,118
  • 1
  • 28
  • 46
14
votes
1 answer

Minikube Kubernetes won't allow ingress on Mac despite running as a VM

I ran minikube start --vm=true which output: minikube v1.12.2 on Darwin 10.15.5 ✨ Using the docker driver based on existing profile ❗ Your system has 16384MB memory but Docker has only 1991MB. For a better performance increase to at least 3GB. …
Sticky
  • 3,671
  • 5
  • 34
  • 58
14
votes
2 answers

Problem executing "minikube start" command

malik@malik:~$ minikube start minikube v1.12.0 on Ubuntu 18.04 ✨ Using the docker driver based on existing profile Starting control plane node minikube in cluster minikube minikube 1.12.1 is available! Download it:…
Abdul Rafay
  • 151
  • 1
  • 1
  • 5
14
votes
2 answers

Using minikube with --driver=docker fails to forward from localhost to minikube internal address

Edit - this is on OSX Also, I've tried running minikube service , that's shown below and when it tries to open it in a browser I get a "connection refused" signal because the port is closed. I have a kubernetes deployment that works…
John Allard
  • 3,564
  • 5
  • 23
  • 42