我一直在尝试在我的开发环境中评估Istio,但到目前为止我还没能运行bookinfo应用程序。我下载了istio版本0.7.1,我安装它没有任何问题。
为了验证安装是否正常,我运行了命令 观看kubectl获取pod --all-namespaces ,输出显示所有pod都正常运行。< / p>
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&lt;(istioctl kube-inject -f samples / bookinfo / kube / bookinfo.yaml) 来部署bookinfo应用程序。但是,执行此命令后,对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)
另外,我无法访问minikube仪表板,我收到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"}
答案 0 :(得分:0)
minikube的默认内存为2GB,您需要更大的bookinfo值。尝试使用以下命令启动minikube:
minikube start --memory 4096