Questions tagged [minikube]
The minikube tag has no usage guidance.
44
questions
0
votes
1
answer
35
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 ...
-2
votes
1
answer
71
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
...
0
votes
1
answer
97
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 ...
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: ...
0
votes
1
answer
160
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.
...
0
votes
0
answers
136
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 ...
0
votes
1
answer
219
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
1
vote
1
answer
114
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?
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-...
0
votes
0
answers
177
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
...
0
votes
0
answers
98
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 ...
0
votes
0
answers
300
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....
0
votes
1
answer
348
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 ...
1
vote
1
answer
441
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, ...
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 ...
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, ...
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 ...
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 ...
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 ...
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:...
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)...
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 ...
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/, ...
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=...
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 ...
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 ...
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....
0
votes
1
answer
586
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 ...
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
�...
0
votes
1
answer
914
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 ...
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 ...
0
votes
1
answer
241
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:
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
0
answers
690
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 ...
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 ...
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 ...
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 ...
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
$ ...
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: ...