Minikube

How to connect to ingress remotely and use a Kubernetes application?

白昼怎懂夜的黑 提交于 2020-01-06 04:40:50
问题 I have an application running on kubernetes and I am using minikube for developing and testing it. I set up the minikube, ingress and application and they are working locally as I described here "Traefik ingress does not work with cluster IP" but I don't know how to connect to my application from a remote machine. What I want to do is, I want to run some performance test and find the bottleneck in my application. The application and minikube are located on machine-A and I want to send some

How to delete kubernetes dashboard from kube-system?

人走茶凉 提交于 2020-01-04 03:54:11
问题 I can not remove kubernetes-dashboard from minikube. I tried deleting the deployment "deployment.apps/kubernetes-dashboard" multiple times. But it gets recreated automatically in few seconds. I am using following command to delete the deployment: kubectl delete deployment.apps/kubernetes-dashboard -n kube-system I even tried to edit the deployment by setting replica count to zero. But even it gets reset automatically after few seconds. The same thing happens for nginx-ingress deployment in

How I can add root CA to minikube?

懵懂的女人 提交于 2020-01-01 05:01:07
问题 My company uses it's own root CA and when I'm trying to pull images. Even from a private registry I'm getting error: 1h 3m 22 {kubelet minikube} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for gcr.io/google_containers/pause-amd64:3.0, this may be because there are no credentials on this request. details: (Error response from daemon: Get https://gcr.io/v1/_ping: x509: certificate signed by unknown authority)" 1h 10s

Kubernetes pod unable to connect to rabbit mq instance running locally

青春壹個敷衍的年華 提交于 2019-12-29 09:22:22
问题 I am moving my application from docker to kubernetes \ helm - and so far I have been successful except for setting up incoming \ outgoing connections. One particular issue I am facing is that I am unable to connect to the rabbitmq instance running locally on my machine on another docker container. app-deployment.yaml: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: jks labels: app: myapp spec: replicas: 1 template: metadata: labels: app: myapp spec: imagePullSecrets: - name:

Kubernetes pod unable to connect to rabbit mq instance running locally

允我心安 提交于 2019-12-29 09:22:14
问题 I am moving my application from docker to kubernetes \ helm - and so far I have been successful except for setting up incoming \ outgoing connections. One particular issue I am facing is that I am unable to connect to the rabbitmq instance running locally on my machine on another docker container. app-deployment.yaml: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: jks labels: app: myapp spec: replicas: 1 template: metadata: labels: app: myapp spec: imagePullSecrets: - name:

Newer versions of Minikube don't allow Pods to use their own Services

社会主义新天地 提交于 2019-12-24 11:44:23
问题 I have a Pod that occasionally needs to call itself by its own host-name. I have a Deployment set up that ultimately creates the Pod, and a Service in place. I'm able to use the service name from a different Pod within my cluster, but the Pod cannot call itself using its host-name. This is something that works with Minikube v0.17.1 with Kubernetes version 1.5.3, but upgrading either Minikube or the Kubernetes version seems to break things. This also works on our deployed / server version of

How to install minikube and docker in Windows 10?

China☆狼群 提交于 2019-12-24 10:37:27
问题 I want to work on minikube . I installed it successfully but I learned that in Windows 10 , I need to disable Hyper-v . Now , when I try to install docker , it needs Hyper-v enabled . I need both for work . Please suggest a way to make this happen . Appreciate your help . :) 回答1: You can achieve this by creating a new virtual switch in Hyper-V Manager for Minikube. Open the Hyper-V Manager (simple Windows search will find it) Select 'Virtual Switch Manager' Select 'New virtual network switch'

Failed to setup kubeconfig when starting minikube

主宰稳场 提交于 2019-12-24 06:50:00
问题 I have installed kubectl and minikube on my windows environment, but when running minikube start it creates the VM on vitualBox but I got this error when it trying to prepare kubernetes on Docker. C:\Users\asusstrix>minikube start * minikube v1.6.0 on Microsoft Windows 10 Home 10.0.18362 Build 18362 * Selecting 'virtualbox' driver from user configuration (alternates: []) * Creating virtualbox VM (CPUs=2, Memory=2000MB, Disk=20000MB) ... * Preparing Kubernetes v1.17.0 on Docker '19.03.5' ... *

How to start minikube?

和自甴很熟 提交于 2019-12-24 00:48:21
问题 I installed minikube on my Linux box Lubuntu 16.04 on a Thinkpad X201i. Here are my complete install steps: Download and install the minikube server cd programs/install/bin curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64; chmod +x minikube; Download and install the kubectl client cd programs/install/bin curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release

Kubernetes Ingress service can not load static files

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 00:19:00
问题 I have created ingress for some services on minikube (1.8.0): apiVersion: extensions/v1beta1 kind: Ingress metadata: name: gateway-ingress namespace: kube-system annotations: ingress.kubernetes.io/rewrite-target: / spec: rules: - http: paths: - backend: serviceName: api-service servicePort: 80 path: /api paths: - backend: serviceName: kubernetes-dashboard servicePort: 80 path: /ui When I access MINIKUBE_IP/ui, the static files of dashboard not work. Below are errors: 192.168.99.100/:1 GET