简体   繁体   English

在kubernetes集群上部署zuul代理

[英]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.

相关问题 在kubernetes集群中部署映像获取CrashLoopBackOff - deploying image in kubernetes cluster getting CrashLoopBackOff Nginx:在kubernetes集群中部署Redmine后出现502 Bad Gateway错误 - Nginx: 502 Bad Gateway error after deploying redmine in kubernetes cluster 使用PostgreSQL将Django应用程序部署到Kubernetes Google Cloud集群 - Deploying Django Application with PostgreSQL to Kubernetes Google Cloud cluster 如何编写正确的 yaml 以在 Azure devops 中部署 kubernetes 集群? - How to write correct yaml for deploying kubernetes cluster in Azure devops? Kubernetes:将mod_cluster替换为后端服务(反向代理) - Kubernetes: Replace mod_cluster for back end services (reverse proxy) 在企业防火墙/代理服务器后面运行 kubernetes kubeadm 集群 - Running kubernetes kubeadm cluster behind a corporate firewall/proxy server 如何为kubernetes(v1.11.2)集群设置代理设置(http_proxy变量)? - How to set proxy settings (http_proxy variables) for kubernetes (v1.11.2) cluster? 为什么在 Kube.netes 集群中部署时无法通过入口在浏览器中打开 React web 应用程序 - Why can I not open a React web app in a browser through an ingress when deploying it in a Kubernetes cluster 在 minikube kube.netes 集群上部署本地基于 python 的 docker 图像时出错 - Error while deploying local python-based docker image on minikube kubernetes cluster Kubernetes 在 Linux/Windows 集群上部署服务时出现“Failed create pod sandbox”错误 - Kubernetes “Failed create pod sandbox” error when deploying services on Linux/Windows cluster
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM