Questions tagged [minikube]
Use this tag if a question is about minikube
24
questions
0
votes
0
answers
39
views
How Do I Get the Information for a Minikube Cluster to Automatically Show Up in Backstage?
The problem:
The information for my Minikube cluster is supposed to be showing up under the Kubernetes tab for a Backstage component similar to the following images:
[2
However, I am getting the ...
0
votes
0
answers
17
views
Collecting logs from Kubernetes using OpenTelemetry to send to Splunk
I am trying to collect logs from Kubernetes running on minikube and send it to Splunk Enterprise using Splunk OpenTelemetry Collector.
Followed this guide:
https://lantern.splunk.com/Data_Descriptors/...
1
vote
1
answer
31
views
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 ...
1
vote
2
answers
406
views
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 ...
2
votes
2
answers
936
views
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.
...
0
votes
1
answer
268
views
Spring Boot Microservices cannot run on Kubernetes (java.net.SocketTimeoutException: connect timed out)
I have a problem about running Spring Boot Microservices on Kubernetes. After I installed minikube, I started it and open its dashboard.
Here is the commands to open dashboards.
1 ) minikube start
2 ) ...
0
votes
1
answer
974
views
can't run default/hello-minikube application in browser
I am new to devops stuff and just started learning Kubernetes. I installed minikube and kubernetes-cli with homebrew and then setup docker drivers
minikube start --driver=docker
minikube config set ...
1
vote
2
answers
823
views
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 ...
1
vote
1
answer
1k
views
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 ...
1
vote
3
answers
908
views
How to expose a service ( Experssjs Api ) deployed on minikube ( 192.168.49.2 ) to be able to access it from another device in the same network?
I've created a service inside minikube (expressjs API) running on my local machine, so when I launch the service using minikube service wedeliverapi --url i can access it from my browser with ...
1
vote
1
answer
2k
views
Minikube will not start again after a stop
Running gentoo linux... I am new to kubernetes and learning it on my dev cloud. I am able to start minikube with no issues (other than the second node is missing...not sure why). Then I stop minikube. ...
1
vote
0
answers
980
views
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 ...
0
votes
1
answer
2k
views
Minikube for Ubuntu 20.04 WSL stuck on 'Restarting existing docker container for "minikube" ...' after minikube start and 'StartHost failed' error
I've come across the following problem where my minikube cluster doesn't start and the command line becomes stagnant in the following way:
$ minikube start
�😄 minikube v1.17.1 on Ubuntu 20.04
�🆕 ...
0
votes
1
answer
2k
views
Ingress ip returns HTTP error DNS_PROBE_FINISHED_NXDOMAIN
I have the next ingress (output of "kubectl get ingress")
NAME HOSTS ADDRESS PORTS AGE
main * 192.168.39.190 80 46m
But when I try to visit that IP address in ...
3
votes
0
answers
453
views
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 ...
5
votes
1
answer
206
views
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 ...
1
vote
1
answer
112
views
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 ...
1
vote
1
answer
48
views
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 ...
0
votes
2
answers
655
views
How do I deploy an applications to Kubernetes with Minikube?
I would like to do something like this, but all Kubernetes quickstart demos are just for deploying a simple applications and not multiple.
How would I create a yaml file that can deploy multiple ...
1
vote
1
answer
5k
views
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
...
3
votes
1
answer
2k
views
Minikube - Is there a way to run Windows Containers?
How do I run Windows containers on Minikube?
Is it possible?
4
votes
2
answers
2k
views
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 ...
6
votes
1
answer
2k
views
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:
...
1
vote
1
answer
76
views
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...