Questions tagged [minikube]

Use this tag if a question is about minikube

30 questions
6
votes
1 answer

How to replicate a mongodb pod with its persistent storage

I made these settings : apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: name: mongo-claim0 name: mongo-claim0 namespace: my-app spec: accessModes: - ReadWriteOnce resources: …
5
votes
1 answer

Why do I need tools like minikube or microk8s to run k8s locally?

I'm just getting started on k8s and got stuck on running k8s locally (it's running, but I don't understand exactly) Pretty much all the tutorials on running k8s locally use minikube and I'm a little bit puzzled. Isn't docker + k8s combination…
Moon
  • 153
  • 3
4
votes
2 answers

How to set minikube to auto start on windows log on?

How I can set minikube to auto start on windows 10 login? I checked but I can't find anything on google. I saw that there is a default parameter autostart-enabled=off but I dont know where I can set it. At the moment after I restart my pc I can…
Alex Bogias
  • 141
  • 1
  • 5
3
votes
1 answer

Minikube - Is there a way to run Windows Containers?

How do I run Windows containers on Minikube? Is it possible?
David West
  • 1,533
  • 3
  • 18
  • 25
3
votes
2 answers

I am looking for a production alternative to kubectl port-forward

I want to know what are production alternatives to make http://192.168.49.2:30001 this accessible http://host_machine_ip:8007 here I have set up minikube cluster with mobile-api service on it. minikube service mobile-api-service --url this returns…
3
votes
2 answers

Is it possible to make the minikube VM use the VPN configuration from the host machine?

I am currently writing a script that deploys a number of applications to a local minikube cluster for development purposes. This script is working great on Linux, but then I tried it on Mac OSX. When starting minikube on Mac OSX instead of using the…
3
votes
0 answers

Enable SSLv3 in Minikube Nginx Ingress

I have some problems with enabling SSLv3 in my Nginx Ingress used as a Minikube addon. I have read in docs how to do it. It should be as simple as adding single map. Unfortunately I haven't had much success with it. It added this map in both…
Dcortez
  • 131
  • 4
2
votes
2 answers

How to get Dockerfile or last CMD/ENTRYPOINT of a kubernetes deployment image?

So I have a deployment like this: apiVersion: v1 kind: Pod metadata: name: yy spec: containers: - name: yy image: gcr.io/xx/yy imagePullSecrets: - name: gcr-json-key That CrashLoopBackOff on Minikube, I know the issue, that the…
Kokizzu
  • 123
  • 6
2
votes
0 answers

Unable to fetch metrics from custom metrics API: Internal error occurred

I am running a local Kubernetes cluster with Minikube on a Windows machine using --driver=hyperv. I am trying to set up an HPA (HorizontalPodAutoscaler) based on Pods custom metrics. Using Helm, I deployed the kube-prometheus-stack to scrape more…
soders
  • 21
  • 2
1
vote
1 answer

Kubernetes expose an app via a DNS name in minicube

I have a Minikube installation in which I created a simple hello-world deployment like this: kubectl create deployment hello-node \ --image=gcr.io/hello-minikube-zero-install/hello-node I exposed the deployment via a service in the following…
Sasha Shpota
  • 111
  • 2
1
vote
1 answer

If we are using Kubernetes do we need to implement HA on both the infrastructure and application level?

Is this something that's going to be covered at the application level with pod autoscaling? Or should we implement both horizontal pod autoscaling and infrastructure high availability within our cloud provider? The goal is for us to see minimal…
1
vote
1 answer

Kubectl: the server doesn't have a resource type "cronjobs"

I ran minikube with: minikube start --vm-driver=kvm2 --kubernetes-version=v1.8.0 status: minikube: Running cluster: Running kubectl: Correctly Configured: pointing to minikube-vm at 192.168.39.93 However, running kubectl get all returns this…
Black Magic
  • 111
  • 1
  • 4
1
vote
1 answer

How to start the latest version of k8s using minikube?

When a k8s cluster is created using minikube, the output indicates that an outdated version of k8s is deployed: user@host ~ $ minikube start Starting local Kubernetes v1.6.4 cluster... Starting VM...
030
  • 13,383
  • 17
  • 76
  • 178
1
vote
1 answer

Why Minikube has different kernel version in its pods/containers than host OS?

I am running Minikube on a Linux kernel 6.1. I added a uname -r command in an image to check which kernel version the container "sees". And its 5.10.57. I expected the version to be 6.1 as well. Why is it different? Minikube is using the kvm2…
Joysn
  • 131
  • 2
1
vote
1 answer

Access to k3s DNS from host

I have a single node k3s "cluster" with few Services on it. Whenever I want to access to one of them, I'm forced to either do a port-forward or a describe (and get the endpoint, but it changes each time). From what I have read, ingress (with a local…
GlinesMome
  • 113
  • 6
1
2