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
263
votes
15 answers

How to switch kubectl clusters between gcloud and minikube

I have Kubernetes working well in two different environments, namely in my local environment (MacBook running minikube) and as well as on Google's Container Engine (GCE, Kubernetes on Google Cloud). I use the MacBook/local environment to develop…
Eric Broda
  • 6,701
  • 6
  • 48
  • 72
168
votes
12 answers

Atleast one invalid signature was encountered

I am trying to build and deploy microservices images to a single-node Kubernetes cluster running on my development machine using minikube. I am using the cloud-native microservices demo application Online Boutique by Google to understand the use of…
Saranya Gupta
  • 1,945
  • 2
  • 10
  • 14
140
votes
2 answers

Get error "unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend" when switch from v1beta1 to v1 in Kubernetes Ingress

I had the below YAML for my Ingress and it worked (and continues to work): apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: test-ingress namespace: test-layer annotations: nginx.ingress.kubernetes.io/rewrite-target:…
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330
97
votes
8 answers

standard_init_linux.go:211: exec user process caused "exec format error"

I am building the Dockerfile for python script which will run in minikube windows 10 system below is my Dockerfile Building the docker using the below command docker build -t python-helloworld . and loading that in minikube docker demon docker save…
Pandit Biradar
  • 1,777
  • 3
  • 20
  • 35
94
votes
7 answers

Expose port in minikube

In minikube, how to expose a service using nodeport ? For example, I start a kubernetes cluster using the following command and create and expose a port like this: $ minikube start $ kubectl run hello-minikube…
KarateKid
  • 3,138
  • 4
  • 20
  • 39
92
votes
4 answers

What does minikube docker-env mean?

In the Kubernetes minikube tutorial there is this command to use Minikube Docker daemon : $ eval $(minikube docker-env) What exactly does this command do, that is, what exactly does minikube docker-env mean?
Satyajit Das
  • 2,740
  • 5
  • 16
  • 30
73
votes
9 answers

Mount local directory into pod in minikube

I am running minikube v0.24.1. In this minikube, I will create a Pod for my nginx application. And also I want to pass data from my local directory. That means I want to mount my local $HOME/go/src/github.com/nginx into my Pod How can I do…
Abu Hanifa
  • 2,857
  • 2
  • 22
  • 38
73
votes
15 answers

How to upgrade minikube?

I had installed minikube a few months ago and wanted to upgrade as newer versions are available. I am unable to find out how to upgrade minikube. I see a feature request for an upgrade command here -…
Manglu
  • 10,744
  • 12
  • 44
  • 57
72
votes
9 answers

An image does not exist locally with the tag: while pushing image to local registry

I am trying to push an image to a local registry running in minikube but get the below error: Successfully built ee84225eb459 Successfully tagged user/apiserver:0.0.1 $ docker push localhost:5000/user/apiserver:0.0.1 The push refers to a…
Amit Shah
  • 751
  • 1
  • 5
  • 7
56
votes
6 answers

why systemd is disabled in WSL?

None of the systemd commands are working inside WSL( Ubuntu Bash 18.04). When I ran sudo systemctl is-active kubelet, error is output: System has not been booted with systemd as init system (PID 1). Can't operate. : running command: sudo systemctl…
49
votes
10 answers

Kubernetes cannot pull image from private docker image repository

I have problem with kubernetes (minikube) and pull images from local image repository on docker. Docker repository was created: docker run --entrypoint htpasswd registry:2 -Bbn zordon examplePassword > /mnt/LINUX/auth/htpasswd docker run -d \ -p…
lukisp
  • 1,031
  • 3
  • 14
  • 27
44
votes
2 answers

Minikube vs Kubernetes in Docker for Windows

Most tutorials I've seen for developing with Kubernetes locally use Minikube. In the latest Edge release of Docker for Windows, you can also enable Kubernetes. I'm trying to understand the differences between the two and which I should…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
44
votes
10 answers

How to fix issue of 'Unable to connect to the server: EOF' Kubernetes - Kubectl

When I try any kubectl command, it always returns: Unable to connect to the server: EOF I followed these…
Carlos Andres
  • 12,740
  • 7
  • 18
  • 34
42
votes
9 answers

Kubernetes Readiness probe failed error

While running my container on kubernetes using helm upgrade command, I am getting this error: 'Readiness probe failed: Get http://172.17.0.6:3003/: dial tcp 172.17.0.6:3003: getsockopt: connection refused'. My docker image is for a node.js…
Karan Sodhi
  • 569
  • 1
  • 4
  • 7
41
votes
3 answers

Kubernetes - How to define ConfigMap built using a file in a yaml?

At present I am creating a configmap from the file config.json by executing: kubectl create configmap jksconfig --from-file=config.json I would want the ConfigMap to be created as part of the deployment and tried to do this: apiVersion: v1 kind:…
Chillax
  • 4,418
  • 21
  • 56
  • 91
1
2 3
99 100