简体   繁体   English

如何使用 AWS 云 controller 管理器

[英]How to work with AWS cloud controller manager

I am trying to expose my applications running in my kubernetes cluster through AWS load balancer.我正在尝试通过 AWS 负载均衡器公开在 kubernetes 集群中运行的应用程序。 I followed the document https://cloudyuga.guru/blog/cloud-controller-manager and got till the point where i added --cloud-provider=external in kubeadm.conf file.我按照文档https://cloudyuga.guru/blog/cloud-controller-manager进行操作,直到在kubeadm.conf文件中添加了--cloud-provider=external But this document is based on Digitial Ocean cloud and i'm working on AWS, i'm confused if i have to run any deployment.yaml file to get the pods running which are in pending status if so please provide me the link, i'm stuck at this point.但是本文档基于 Digitial Ocean 云,我正在使用 AWS,如果我必须运行任何部署,我会感到困惑。yaml 文件以使处于待处理状态的 pod 运行,如果是,请提供链接,我我被困在这一点上。

NAME                                                    READY   STATUS    RESTARTS   AGE
coredns-66bff467f8-dlx76                                0/1     Pending   0          3m32s
coredns-66bff467f8-svb6z                                0/1     Pending   0          3m32s
etcd-ip-172-31-74-144.ec2.internal                      1/1     Running   0          3m38s
kube-apiserver-ip-172-31-74-144.ec2.internal            1/1     Running   0          3m38s
kube-controller-manager-ip-172-31-74-144.ec2.internal   1/1     Running   0          3m37s
kube-proxy-rh8g4                                        1/1     Running   0          3m32s
kube-proxy-vsvlt                                        1/1     Running   0          3m28s
kube-scheduler-ip-172-31-74-144.ec2.internal            1/1     Running   0          3m37s

The coredns pods are pending because you have not installed a Pod Network add-on yet. coredns pod 处于pending状态,因为您尚未安装 Pod Network 插件。 From the docs here you can choose any supported Pod Network add-on.此处的文档中,您可以选择任何受支持的 Pod Network 插件。 For example to use calico例如使用印花布

kubectl apply -f https://docs.projectcalico.org/v3.14/manifests/calico.yaml

After the Pod Network add-on is installed the coredns pods should come up.安装 Pod Network 插件后, coredns pod 应该会出现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Kubernetes AWS上的艰难方法-部署和配置cloud-controller-manager - Kubernetes The hard way on AWS - Deploy and configure cloud-controller-manager 如何将 Spring Cloud 与 AWS Secrets Manager 集成? - How to integrate Spring Cloud with AWS Secrets Manager? 如果在--cloud-provider = aws标志中使用kubeadm init,则kubernetes控制器管理器错误 - kubernetes controller manager error if use kubeadm init with --cloud-provider=aws flag 当kubeadm使用“cloud-provider = aws”时,kube-controller-manager无法启动 - kube-controller-manager doesn't start when using “cloud-provider=aws” with kubeadm 使用云形成模板的 AWS Systems Manager - AWS Systems Manager using cloud formation template 如何将 HTTP 重定向到 HTTPS 与 Nginx 入口 Z9BBF373797BF7CF7BA62C80023 由 AWS Manager 证书管理,AWS NELB23 证书? - How to redirect HTTP to HTTPS with Nginx Ingress Controller, AWS NLB and TLS certificate managed by AWS Certificate Manager? 如何在 AWS 中实现服务管理器 - how to implement service manager in AWS AWS Instance Profile不适用于Spring Cloud AWS - AWS Instance Profile doesn't work with Spring Cloud AWS 如何使用 CDK 配置 AWS Systems Manager Session Manager - How to configure AWS Systems Manager Session Manager with CDK 如何在AWS上测试流程是否在“云中” - How to test if process is “in cloud” on AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM