我一直在尝试评估Istio在我的开发环境,但到目前为止,我还没有能够运行bookinfo应用程序。我下载了istio版本0.7.1,并安装了它,没有任何问题。
为了验证安装是否正常,我运行了命令watch kubectl get -所有名称空间,输出显示所有的荚都运行良好。
Every 2.0s: kubectl get pod --all-namespaces ubuntu: Tue Apr 24 04:21:00 2018
NAMESPACE NAME READY STATUS RESTARTS AGE
istio-system grafana-7b8f9b9b4f-7cd4r 1/1 Running 0 1h
istio-system istio-ca-75fb7dc8d5-mhrd5 1/1 Running 0 1h
istio-system istio-ingress-8546966f58-m4zt6 1/1 Running 0 1h
istio-system istio-mixer-566f68f5d6-rj8dd 3/3 Running 0 1h
istio-system istio-pilot-fd8fb6957-xfkkr 2/2 Running 0 1h
istio-system prometheus-6c54fc5cf-pjjdn 1/1 Running 0 1h
istio-system servicegraph-64567d6467-hq8gn 1/1 Running 0 50m
istio-system zipkin-78d44687f9-jhr6b 1/1 Running 0 50m
kube-system etcd-minikube 1/1 Running 0 2h
kube-system kube-addon-manager-minikube 1/1 Running 0 2h
kube-system kube-apiserver-minikube 1/1 Running 0 2h
kube-system kube-controller-manager-minikube 1/1 Running 0 2h
kube-system kube-dns-86f4d74b45-dlmbk 3/3 Running 0 2h
kube-system kube-proxy-98kl7 1/1 Running 0 2h
kube-system kube-scheduler-minikube 1/1 Running 0 2h
kube-system kubernetes-dashboard-5498ccf677-5bvdh 1/1 Running 0 2h
kube-system storage-provisioner 1/1 Running 0 2h然后,我运行命令kubectl create -f <(istioctl kube-inject -f -f)来部署-f应用程序。但是,在执行此命令后,对minikube的任何请求都会失败,同时出现超时错误,例如:
watch kubectl get pod --all-namespaces
Error from server (Timeout): the server was unable to return a response in the time allotted, but may stil
l be processing the request (get pods)另外,我无法访问迷你的仪表板,我得到了一个500错误。
你以前见过这个错误吗?如何调试此问题?
我的开发人员环境是:
Node: Ubuntu 17.10 VM (To be clear my laptop is running Windows and I have a VM with Ubuntu with : 8Gb of RAM, 4 Processors and 80Gb of disk)
Istio : version 0.7.1
kubectl version
Client Version:
version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-12T14:26:04Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}发布于 2018-07-04 10:43:31
minikube的默认内存是2GB,您需要一个更大的值。试着从以下几个方面开始:
minikube start --memory 4096https://stackoverflow.com/questions/50001008
复制相似问题