Minikube

Kubernetes Ingress running behind nginx reverse proxy

元气小坏坏 提交于 2019-12-23 13:00:42
问题 I have installed minikube on a server which I can access from the internet. I have created a kubernetes service which is available: >kubectl get service myservice NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE myservice 10.0.0.246 <nodes> 80:31988/TCP 14h The IP address of minikube is: >minikube ip 192.168.42.135 I would like the URL http://myservice.myhost.com (i.e. port 80) to map to the service in minikube. I have nginx running on the host (totally unrelated to kubernetes). I can set up a virtual

Kafka inaccessible once inside Kubernetes/Minikube

你离开我真会死。 提交于 2019-12-23 10:52:56
问题 I need to run Kafka in a local Kubernetes instance (using Minikube) and to have the resulting Kafka service accessible to client applications (publishers and subscribers) outside the Minikube VM. I have everything up and running in Minikube but I suppose that I have made a configuration mistake since I cannot access Kafka from outside. I have read similar questions and tried there suggested solutions but none of them solved the issue for me. I have posted my YAML configuration files at https:

restarting kube-proxy wating for conditions

瘦欲@ 提交于 2019-12-23 09:29:34
问题 While running the minikube start in windows 10, getting the following error. Error : Error restarting cluster: restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition Please help me resolve the give issue, I delete the minikube and restarted many time. 回答1: I faced the same issue on Centos 7 minikube delete then minikube start solved my issue 回答2: I was getting the same error on mac os, tried almost everything but finally, this comment

minikube mount crashes: mount system call fails

走远了吗. 提交于 2019-12-23 04:51:14
问题 I am running minikube on my mac (running OSX 10.14.5) minikube version: 1.1.0 minikube is using VirtualBox I would like to have a single set of kubernetes yaml files that I use in different environments. Therefore, I'm trying to mount the same directory I would use in other environments into my minikube. (If there's a different way to go about this but ease development let me know.) Anyway, the mount fails. $ minikube mount /etc/vsc:/etc/vsc 📁 Mounting host path /etc/vsc into VM as /etc/vsc .

Minikube weird behavior under VPN

戏子无情 提交于 2019-12-23 04:19:09
问题 I was just curious if there are known workarounds for the Minikube Vpn issue apart from clean wipe of the minikube from the machine and reinstallation. Minikube works just fine when it is connected to either office network or home network but goes dead when connected to a vpn. When I do a kubectl get pods gives an i/o timeout . I did read couple of git issues in their Issues section but none of the solutions seemed comprehensive. Using Mac OS Minikube V0.25.Any suggestion is truly appreciated

Kubernetes minikube, cannot expose service on public ip range

末鹿安然 提交于 2019-12-22 18:40:17
问题 So I've been playing around with Minkube. I've managed to deploy a simple python flask container: PS C:\Users\Will> kubectl run test-flask-deploy --image 192.168.1.201:5000/test_flask:1 deployment "test-flask-deploy" created I've also then managed to expose the deployment as a service: PS C:\Users\Will> kubectl expose deployment/test-flask-deploy -- type="NodePort" --port 8080 service "test-flask-deploy" exposed In the dashboard I can see that the service has a Cluster IP: 10.0.0.132. I

standard_init_linux.go:211: exec user process caused “exec format error”

旧时模样 提交于 2019-12-22 14:15:11
问题 I am building the Dockerfile for python script which will run in minikube windows 10 system below is my Dockerfile Building the docker using the below command docker build -t python-helloworld . and loading that in minikube docker demon docker save python-helloworld | (eval $(minikube docker-env) && docker load) Docker File FROM python:3.7-alpine #add user group and ass user to that group RUN addgroup -S appgroup && adduser -S appuser -G appgroup #creates work dir WORKDIR /app #copy python

curl (3) URL using bad/illegal format or missing URL

穿精又带淫゛_ 提交于 2019-12-22 10:47:12
问题 I've tried to install Minikube via Linux (Ubuntu 18.04) and have installed curl following these steps: ./configure --nghttp2 --prefix=/usr/local --with-ssl make sudo make install My curl version is 7.63.0. According to the Platform 9 guide, I wrote the following instruction: curl -Lo minikube \ https://storage.googleapis.com/minikube/releases/v0.18.0/minikube-darwin- amd64 && chmod +x minikube && mv minikube /usr/local/bin/ This is the system's result: curl (3) URL using bad/illegal format or

Hyperledger Fabric with Kubernetes: Not able to instantiate chaincode

家住魔仙堡 提交于 2019-12-22 09:56:41
问题 I am trying to deploy Hyperledger Fabric on Kubernetes. Everything is working fine other than peer chaincode instantiate . Whenever I try to instantiate chaincode it keeps waiting for around 10-15 mins and then it throws timeout error as shown below: Error: could not assemble transaction, err Proposal response was not successful, error code 500, msg failed to execute transaction b7ce8fa6259e6004481b829660dd2365f8503153047b3d9132393180e2591f0a: timeout expired while starting chaincode mycc:1.0

Cannot stop 10 containers after Kubernetes minikube tutorial

耗尽温柔 提交于 2019-12-22 08:12:05
问题 docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7523fd2c20c7 gcr.io/google_containers/k8s-dns-sidecar-amd64 "/sidecar --v=2 --..." 18 hours ago Up 18 hours k8s_sidecar_kube-dns-86f6f55dd5-qwc6z_kube-system_c1333ffc-e4d6-11e7-bccf-0021ccbf0996_0 9bd438011406 gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64 "/dnsmasq-nanny -v..." 18 hours ago Up 18 hours k8s_dnsmasq_kube-dns-86f6f55dd5-qwc6z_kube-system_c1333ffc-e4d6-11e7-bccf-0021ccbf0996_0 5c35e00a5a27 gcr.io/google