[英]deployment of the pod in the aws kops cluster
I created the kops cluster with 1 master node & 2 worker nodes.我创建了带有 1 个主节点和 2 个工作节点的 kops 集群。 Also I created the pod & it's running successfully.
我还创建了 pod 并且它运行成功。 But how do I deploy this pod in the kops cluster nodes?
但是如何在 kops 集群节点中部署这个 pod? Please help.
请帮忙。
--EDIT-- The "kops get cluster" command returns that, the cluster is on. --EDIT-- “kops get cluster”命令返回,集群已打开。 And the "kubectl get pod" returns that the pod is created and the status is "Running".
“kubectl get pod”返回 pod 已创建,状态为“正在运行”。
I tried creating the cluster with the --image tag.我尝试使用 --image 标签创建集群。 But since its a private repository, it caused error.
但由于它是一个私有存储库,因此会导致错误。 If that's the way, can you please suggest a way to create the cluster with private repository image.
如果是这样,您能否建议一种使用私有存储库映像创建集群的方法。
how do I deploy this pod in the kops cluster nodes?
如何在 kops 集群节点中部署这个 pod?
When you deployed your pod it was deployed on 1 of the worker nodes, you can check which one with当您部署 pod 时,它已部署在 1 个工作节点上,您可以使用
kubectl get pods -o wide
Worth to take a look at kubernetes documentation about Viewing Pods and Nodes值得一看 kubernetes 关于查看 Pods 和节点的文档
If that's the way, can you please suggest a way to create the cluster with private repository image.
如果是这样,您能否建议一种使用私有存储库映像创建集群的方法。
About private repository take a look at this kubernetes documentation关于私有存储库,请查看此kubernetes 文档
I would recommend to use docker registry , if you know helm there is a helm chart for it.我建议使用docker 注册表,如果您知道helm有一个helm 图表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.