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
21
votes
2 answers

How to fix "Forbidden!Configured service account doesn't have access" with Spark on Kubernetes?

I am trying to run the basic example of submitting a spark application with a k8s cluster. I created my docker image, using the script from the spark folder : sudo ./bin/docker-image-tool.sh -mt spark-docker build sudo docker image ls REPOSITORY…
Nakeuh
  • 1,757
  • 3
  • 26
  • 65
21
votes
1 answer

How to delete the pod for one time task in kubernetes automatically?

In order to check status, I started the busybox in kubernetes using interactive shell. $ kubectl run -i --tty busybox --image=busybox --restart=Never -- sh / # exit $ kubectl run -i --tty busybox --image=busybox --restart=Never -- sh Error from…
Larry Cai
  • 55,923
  • 34
  • 110
  • 156
20
votes
5 answers

Minikube Start Stuck Pulling base image

I have been trying to setup minikube but the command is stuck at pulling base image since forever
Sumit Mukharjee
  • 312
  • 2
  • 9
20
votes
1 answer

Forbidden resource in API group at the cluster scope

I am unable to identify what the exact issue with the permissions with my setup as shown below. I've looked into all the similar QAs but still unable to solve the issue. The aim is to deploy Prometheus and let it scrape /metrics endpoints that my…
BentCoder
  • 12,257
  • 22
  • 93
  • 165
20
votes
6 answers

Kubernetes Port Forwarding - Error listen tcp4 127.0.0.1:88: bind: permission denied

I am using minikube on my local machine. Getting this error while using kubernetes port forwarding. Can anyone help? mjafary$ kubectl port-forward sa-frontend 88:80 Unable to listen on port 88: All listeners failed to create with the following…
Jaf
  • 811
  • 2
  • 7
  • 9
20
votes
2 answers

Kubernetes Minikube with local persistent storage

I am currently trying to deploy the following on Minikube. I used the configuration files to use a hostpath as a persistent storage on minikube node. apiVersion: v1 kind: PersistentVolume metadata: name: "pv-volume" spec: capacity: storage:…
user3812069
  • 243
  • 1
  • 3
  • 6
19
votes
9 answers

Could not access Kubernetes Ingress in Browser on Windows Home with Minikube?

I am facing the problem which is that I could not access the Kubernetes Ingress on the Browser using it's IP. I have installed K8s and Minikube on Windows 10 Home. I am following this official document -…
yogihosting
  • 5,494
  • 8
  • 47
  • 80
19
votes
5 answers

How to update minikube latest version?

When I command minikube status it shows but with a GitHub link says that update minikube. Can you tell me how can I do this in a simple way? $ minikube status ⚠️ There is a newer version of minikube available (v1.3.1). Download it…
19
votes
3 answers

`kubectl cp` to a pod is failing because of Permission Denied

When I try to copy a small file to a Kubernetes pod, it fails with the following error: :~ $kubectl cp /tmp/a default/resolver-proxy-69dc786fcf-5rplg:/usr/local/bin/ --no-preserve=true tar: a: Cannot open: Permission denied tar: Exiting with…
19
votes
5 answers

Minikube default CPU/Memory

I am trying to determine the default CPU and memory allocation for Minikube (version > 1.0). When running the following: $ minikube config get memory && minikube config get cpu Error: specified key could not be found in config values are not…
Berndinox
  • 1,874
  • 2
  • 11
  • 11
19
votes
2 answers

minikube - how to access pod via pod ip using curl

I use minikube to create local kubernetes cluster. I create ReplicationController via webapp-rc.yaml file. apiVersion: v1 kind: ReplicationController metadata: name: webapp spec: replicas: 2 template: metadata: name: webapp …
Lin Du
  • 88,126
  • 95
  • 281
  • 483
19
votes
5 answers

Minikube got stuck when creating container

I recently got started to learn Kubernetes by using Minikube locally in my Mac. Previously, I was able to start a local Kubernetes cluster with Minikube 0.10.0, created a deployment and viewed Kubernetes dashboard. Yesterday I tried to delete the…
nybon
  • 8,894
  • 9
  • 59
  • 67
18
votes
8 answers

minkube dashboard command hangs on 'verifying proxy health'

I'm taking a Kubernetes course and part of the course is trying out minikube. I have minikube and kubectl installed on an Ubuntu 20.04 WSL on Windows 11. When I run minikube dashboard in the Ubuntu terminal the process hangs on Verifying proxy…
mdailey77
  • 1,673
  • 4
  • 26
  • 52
18
votes
1 answer

kubectl behind a proxy

I have installed a local Kubernetes cluster using minikube following the instructions here. I'm under a corporate proxy. Therefore I have set the http_proxy and https_proxy env vars. Once the cluster is started after minikube start command I also…
n3o
  • 2,795
  • 5
  • 24
  • 37
17
votes
6 answers

Difference between Minikube, Kubernetes, Docker Compose, Docker Swarm, etc

I am new to cluster container management, and this question is the basis for all the freshers over here. I read some documentation, but still, my understanding is not too clear, so any leads.. helping to understand? Somewhere it is mentioned,…
stackjohnny
  • 645
  • 3
  • 7
  • 22