Questions tagged [minikube]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11 votes
1 answer
7k views

minikube/k8s/kubectl "failed to watch file [ ... ]: no space left on device"

I'm fairly new to k8s and minikube, and could use help understanding the frequent-but-not-ubiquitous error I get when running kubectl logs -f <POD NAME> I get this, sometimes, and ...
Ben's user avatar
  • 251
8 votes
1 answer
17k views

Kubernetes deployment "failed to pull image" with local registry, minikube

I'm getting a "Failed to pull image" error on my deployment in minikube with a local registry, despite other deployments using the same image registry working as expected. My workflow is to build ...
Ben's user avatar
  • 251
5 votes
3 answers
12k views

Unable to connect to minikube ingress via minikube ip

so I just got started digging into minikube after having problems with the docker-desktop here and there. I am following https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/, ...
nugetminer23's user avatar
5 votes
1 answer
3k views

Minikube mount datadir at minikube start

So I actually want to start my minikube cluster with a special directory mounted on it, on /data. This directory contains my db datas. For this I try: minikube start \ --driver=docker \ --extra-config=...
nail0x's user avatar
  • 63
4 votes
3 answers
5k views

Connect to remote minikube cluster using kubectl

I am looking to see if I can connect to a remote minikube cluster (Ubuntu box) using local (Mac) kubectl. I currently use Docker and can do this very easily using docker-machine. Simply eval to the ...
MeanwhileInHell's user avatar
4 votes
3 answers
12k views

Minikube. How to allow access to local mySQL database from container

I'm trying to access to local MySQL database from minikube container. My minikube works on Windows 10 with hyper-v driver. I found a few solutions (creating host-only network from VirtualBox) but ...
Denis Lopatin's user avatar
3 votes
3 answers
13k views

How to run minikube start as a linux service on startup?

This question is related to How to arrange a non admin command as a systemd service? I have the following minikube.service file: [Unit] Description=Runs minikube on startup After=vboxautostart-service....
mark's user avatar
  • 745
2 votes
1 answer
3k views

Ingress returns 'default backend - 404' on Minikube

I'm trying to set up a very simple Kubernetes cluster with frontend, backend and db services. Here is part of the Frontend service definition file: apiVersion: v1 kind: Service metadata: name: ...
zmbq's user avatar
  • 675
1 vote
1 answer
2k views

Exposing minikube service using iptables

I have minikube Load balancer service running on kvm based minikube node. I have below network routes, Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use ...
Xinus's user avatar
  • 229
1 vote
1 answer
443 views

executing a command without password prompt or root

For the sake of writing a script, I'd like my minikube-role-user to execute the command minikube tunnel without a password prompt, without switching user to root, be it by su or temporarily by sudo, ...
Dylan's user avatar
  • 13
1 vote
1 answer
1k views

Pods on two different nodes communicate very slow, any idea why?

I am learning k8s and I have 3 nodes k8s cluster. I have just recently deployed k8s with kubeadmin and so far it is working great. everything working perfectly but the only problem that I am facing is ...
Yousuf's user avatar
  • 35
1 vote
2 answers
3k views

Need help understanding label overwrite behavior in kubernetes

I am learning kubernetes by walking through a kubernetes tutorial. While working through the exercises in module 4, I observed an odd behavior from kubernetes when overwriting a label. I could use ...
Lee Jenkins's user avatar
1 vote
2 answers
2k views

minikube: Using a storageclass to provision data outside of /tmp

Absolute minikube/kubernetes neophyte here. I'm using minikube with vm-driver = none (in case that matters) to deploy an application that gives me the option to specify a storageClass for ...
JFitzDela's user avatar
1 vote
1 answer
116 views

Getting error when updating the Minikube installation

Iam trying to start Minikube but it gives an error: Error getting primary cp:could not find master node What is the reason for this error & How to fix this error?
Paul's user avatar
  • 15
1 vote
0 answers
4k views

minikube not running with virtualbox, how to fix that?

I am using windows 10 professional edition. Installed virtualbox and also enable virtualization on bios, that's why able to run windows 10 64bit machines as VMs in virtualbox. When I started minikube, ...
user2331760's user avatar
1 vote
0 answers
2k views

minikube on macos with m1 darwin without docker

Ok, in my search for a development environment without docker desktop, I am exploring minikube. The issue is that minikube (at the time of writing) cannot run on macos with m1 chip because hyperkit is ...
santiago arizti's user avatar
1 vote
0 answers
1k views

Injected vault-agent pod failing to start, api server & vault aren't communicating

I have a local kubernetes cluster using kind. It is a single node cluster. On this cluster I am following this guide to setup Vault & the vault-agent-injector. If I follow the tutorial step by ...
max_sargent's user avatar
1 vote
0 answers
78 views

How to generate or change HostPath in kubernetes config for each developer?

In Kubernetes, you can create a volume to mount into a with hostpath. This hostPath should provide a directory on the node running the pod. It's useful when you are working in development environments ...
fermin's user avatar
  • 113
0 votes
1 answer
245 views

Does Minikube (or Kubernetes) need CPU-virtualisation instructions to orchestrate Docker containers?

I am looking to learn Kubernetes, specifically from this resource. I only want to run Docker containers, rather than full-fat VMs. It says that I need any of these as a base from which to work: ...
halfer's user avatar
  • 181
0 votes
2 answers
5k views

Connecting NodePort in Minikube

I created a Service and a Deployment but I am unable to access the service with minikube service --url accounts-service or minikube service accounts-service. While the second one opens the browser but ...
King's user avatar
  • 101
0 votes
1 answer
5k views

Minikube Failed to pull image http: server gave HTTP response to HTTPS client

I've a minikube running on OSX with hyperkit with insecure registry enabled $ minikube start 🎉 minikube 1.12.1 is available! Download it: https://github.com/kubernetes/minikube/releases/tag/v1.12.1 �...
bachr's user avatar
  • 183
0 votes
1 answer
40 views

Minikube does not work with Virtualbox on Mac

I'm running this command minikube start --vm-driver virtualbox -p minikube on Mac to start a minikube instance and I'm getting the following error: Exiting due to IF_VBOX_NOT_VISIBLE: Failed to start ...
Carabes's user avatar
  • 101
0 votes
1 answer
177 views

Kubernetes pod fails with crashloopbackoff error

Created a minikube pod and downloaded an image from the hub Docker.Com private repository. A crashloopbackoff error occurs when attempting to set up a pod to pull the image. I want to fix this error. ...
Paul's user avatar
  • 15
0 votes
1 answer
229 views

Facing error again in minikube renew certificate

When I run kubectl command getting error is certificate expired How to debug minikube errors? kubectl get pods Unable to connect to the server: x509: certificate has expired or is not yet valid
Paul's user avatar
  • 15
0 votes
1 answer
2k views

Cannot properly edit and save worker node specs in Kubernetes

I have a Kubernetes cluster setup using KubeAdm (Setup in EC2 instances in AWS Cloud). The CNI used is Flannel and the cluster is running quite well. My requirement is that I am trying to setup ...
arjunbnair's user avatar
0 votes
1 answer
1k views

cluster-autoscaler simulator in minikube

I have seen examples for the horizontal pod autoscaler (HPA) using minikube (example). However, I'm wondering if there is a similar tutorial to get hands on experience with the cluster autoscaler (CA)...
Kiran K.'s user avatar
  • 103
0 votes
1 answer
217 views

kubernetes on virtualbox and visual studio code

I have installed kuberenetes with minikube on windows in virtualbox, for the moment I'm using visual studio as yaml IDE and using cmd for kubectl commands. I want to know how can I define Visual ...
Alireza Nasri's user avatar
0 votes
1 answer
588 views

minikube on virtual box loses HostOnly network after host was in sleep mode - How to recover?

I'm running minikube with the vbox driver. I noticed that when I get back to my workstation after it's been in sleep mode, I can't do kubectl get pods (or any other kubectl command). Some digging and ...
Tom Klino's user avatar
  • 641
0 votes
1 answer
2k views

Minikube files do not persist after restart

I'm using minikube version 0.28.0 and files don't persist after a restart. I ran into the problem after noticing my database data disappears after a restart (even though the pods, pv's, and pvc's say ...
s g 's user avatar
  • 621
0 votes
1 answer
2k views

minikube - Error starting cluster: kubeadm init error

My environment: $ cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) $ uname -a Linux X.X.X 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ ...
alexus's user avatar
  • 13.2k
0 votes
0 answers
7 views

Unable to Access ArgoCD Web UI - Connection Issue

I'm having trouble accessing the ArgoCD web UI, and I'm seeking assistance to troubleshoot the issue. Here are the details: Problem Description: I have successfully installed ArgoCD on my Kubernetes ...
COMIX MASTER's user avatar
0 votes
1 answer
106 views

Configure kubectl command to access remote minikube cluster on virtualbox debian VM

i have set up successfully on debian minikube with simple cluster Debian VM : umen@debian12:~$ kubectl get pods NAME READY STATUS RESTARTS AGE hello-77c947d946-jq2s4 1/1 ...
user61104's user avatar
  • 529
0 votes
0 answers
16 views

Minikube hosted in oracle linux. A web application hosted within minikube not able to access the same from out side browser

[root@master-node-1-sk ~]# kubectl describe services bank-cash-pro-gui-docker-image Name: bank-cash-pro-gui-docker-image Namespace: default Labels: ...
santosh kapse's user avatar
0 votes
0 answers
149 views

How to use Ingress to access kubernetes-dashboard on Minikube?

I can access kubernetes-dashboard by getting its URL using minikube dashboard --url. However, using this approach a different portname is used every time I restart the Minikube cluster. Therefore I ...
Joysn's user avatar
  • 101
0 votes
0 answers
1k views

Using apt-get update in Dockerfile is not working

In my Mac, I'm running minikube, version minikube version: v1.24.0 commit: 76b94fb3c4e8ac5062daf70d60cf03ddcc0a741b with VirtualBox, with this command minikube start --vm-driver virtualbox --docker-...
Carabes's user avatar
  • 101
0 votes
0 answers
183 views

This site can’t be reached in kubernetes minikube

I applied my react kubernetes manifest file on minikube with the service I am trying to access it on the browser but I am getting error This site can’t be reached deployment.yml apiVersion: apps/v1 ...
Samson's user avatar
  • 113
0 votes
0 answers
99 views

forward traffic from vm host to Minikube

I have the following setup: MAC Book Pro and Ubuntu 22.04, running on parallels. Minikube installed on the ubuntu vm. Some pods running in the Minikube cluster and configured an external service. From ...
sangul's user avatar
  • 1
0 votes
0 answers
305 views

jenkins on kubernetes, jobs are not running, how to fix that?

When I to run any job, getting this error in jenkins logs. The job just stuck in pending state. fully completed. We have now 2 computer(s) 2023-03-27 15:21:32.237+0000 [id=34] WARNING j.u....
user2331760's user avatar
0 votes
1 answer
351 views

Kubernetes Ingress always direct traffic to the wrong pod

I have the following setup in a minikube kubernetes cluster (locally) namespace customer-a 1 deployment -> prints "Hi from Customer A" 1 LoadBalancer type Service 1 ingress -> host ...
Jananath Banuka's user avatar
0 votes
1 answer
3k views

Accessing Mosquitto MQTT from outside my kubernetes cluster

I have the following Mosquitto setup on my minikube: Deployment: apiVersion: apps/v1 kind: Deployment metadata: name: mosquitto namespace: mosquitto spec: replicas: 1 selector: matchLabels:...
Daniel's user avatar
  • 3
0 votes
1 answer
920 views

Can't make vsftpd on kubernetes (minikube) with load balancer AND ssl work

CONTEXT School project : to host several services on a kubernetes node minikube including a ftps server on port 21 using a load balancer. School ask us to make our own images based on Alpine. What I ...
Bstorm's user avatar
  • 101
0 votes
1 answer
2k views

Setup bridge for existing virtual birdge that minikube is running on

I managed to setup minikube on my system using kvm2 driver, and it seems to work. However i want to be able to launch the dashboard and access it externally, i.e. access it from another device within ...
Aeseir's user avatar
  • 101
0 votes
0 answers
691 views

Configuring TCP services with nginx ingress on minikube/k8s

I'm new to k8s/minikube (and to some extent, unix networking in general) so if I ask something that seems to make no sense, I'll be happy to clarify! Goal I want to configure a port-based TCP ...
Ben's user avatar
  • 251
0 votes
1 answer
355 views

When starting minikube set to --kubernetes-version v1.7.6, startup fails due to kubeadm attempting to use kube-dns

On my mac and Linux boxes (Linux Mint 18.3 Sylvia), when attempting to start minikube compatible with v.1.7.6, the startup fails when it tries to run the /usr/bin/kubeadm alpha phase addon kube-dns ...
Scott S's user avatar
  • 101
-2 votes
1 answer
72 views

Set up minikube installation with gke

I just want to set up minikube on kubernetes While installing facing an error Minikube start--kubernetes-version=vm-driver="hyperv'--hyperv-virtual-switch=minikube I want to resolve above error ...
Paul's user avatar
  • 15