Questions tagged [minikube]

33 questions
10
votes
1 answer

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 I get this, sometimes, and unpredictably, on pods in my own namespace, and in kube-system, e.g.…
Ben
  • 241
  • 1
  • 3
  • 10
8
votes
1 answer

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 the image from a Dockerfile called docker.collection…
Ben
  • 241
  • 1
  • 3
  • 10
5
votes
3 answers

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/, but I'm running into a problem. I did exactly…
nugetminer23
  • 53
  • 1
  • 4
3
votes
1 answer

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=apiserver.service-node-port-range=1-35000…
nail0x
  • 43
  • 4
2
votes
1 answer

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: frontend labels: tier: frontend spec: …
zmbq
  • 665
  • 1
  • 7
  • 9
2
votes
1 answer

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 machine name, and docker will use the remote…
2
votes
3 answers

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.service vboxballoonctrl-service.service…
mark
  • 691
  • 2
  • 14
  • 31
2
votes
2 answers

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 nothing for hyper-v. Can somebody assist me how can I…
Dennis Spade
  • 21
  • 1
  • 2
1
vote
2 answers

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 provisioning volumes, and it uses the "standard" storageClass…
JFitzDela
  • 11
  • 3
1
vote
1 answer

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 Iface 0.0.0.0 192.168.0.1 0.0.0.0 …
Xinus
  • 219
  • 4
  • 13
1
vote
1 answer

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, or permanently with visudo. I have tried giving my…
Dylan
  • 13
  • 3
1
vote
0 answers

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 not supported yet on darwin acrhitecture. I also…
santiago arizti
  • 405
  • 5
  • 16
1
vote
1 answer

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 network throughput. my three nodes and replica…
user3852599
  • 33
  • 1
  • 5
1
vote
0 answers

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 step the end result is that the orgchart pod will fail…
1
vote
1 answer

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 some explanation, because what I see doesn't match…
Lee Jenkins
  • 161
  • 1
  • 6
1
2 3