[英]Deploying zuul proxy on kubernetes cluster
I have a Kubernetes cluster configured on Linux. 我在Linux上配置了Kubernetes集群。 On this, I want to configure zuul proxy. 在此,我想配置zuul代理。 For deploying zuul, I am using zuul docker images from docker hub. 为了部署zuul,我使用的是来自docker hub的zuul docker图像。 But after running these zuul images, the pod status shows as 'ImagePullBackOff'. 但是在运行这些zuul图像后,pod状态显示为“ImagePullBackOff”。 I used 2-3 repositories but all are showing the same status. 我使用了2-3个存储库,但都显示了相同的状态。 I am either using 'kubectl create' or 'kubectl run' to install & configure zuul proxy. 我要么使用'kubectl create'或'kubectl run'来安装和配置zuul代理。 Can anybody let me know how can we install & configure zuul proxy on kubernetes cluster either by using docker images or any other method ? 任何人都可以让我知道如何通过使用docker镜像或任何其他方法在kubernetes集群上安装和配置zuul代理?
It seems you are trying to get netflixoss/zuul image, ie netflixoss/zuul:latest
but get the following error: 看来你正试图获得netflixoss / zuul图像,即netflixoss/zuul:latest
但是得到以下错误:
Warning Failed 15s kubelet, minikube Failed to pull image "netflixoss/zuul": rpc error: code = Unknown desc = Error response from daemon: manifest for netflixoss/zuul:latest not found
Warning Failed 15s kubelet, minikube Error: ErrImagePull
Normal BackOff 14s kubelet, minikube Back-off pulling image "netflixoss/zuul"
Warning Failed 14s kubelet, minikube Error: ImagePullBackOff
Normal Pulling 0s (x2 over 18s) kubelet, minikube pulling image "netflixoss/zuul"
That's because there is only one version 1.0.28 available for image netflixoss/zuul
. 那是因为图片netflixoss/zuul
只有一个版本1.0.28可用。 There is no default latest
version for the image. 图像没有默认的latest
版本。
So, you need to deploy netflixoss/zuul:1.0.28
image on your kubernetes cluster: 因此,您需要在kubernetes集群上部署netflixoss/zuul:1.0.28
映像:
kubectl run --image netflixoss/zuul:1.0.28 zuul
It is successfully pulled: 它被成功拉出:
Normal Pulling 21m kubelet, minikube pulling image "netflixoss/zuul:1.0.28"
Normal Pulled 10m kubelet, minikube Successfully pulled image "netflixoss/zuul:1.0.28"
Normal Created 10m kubelet, minikube Created container
Normal Started 10m kubelet, minikube Started container
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.