我使用eksctl脚本创建了一个Amazone EKS集群。创建还可以,但我在Amazone EKS Services Cluster页面上看不到任何集群,也看不到所有EC2实例。怎么了?!
2021-03-18 11:03:10 [ℹ] waiting for the control plane availability...
2021-03-18 11:03:10 [✔] saved kubeconfig as "/root/.kube/config"
2021-03-18 11:03:10 [ℹ] no tasks
2021-03-18 11:03:10 [✔] all EKS cluster resources for "test-cluster" have been created
2021-03-18 11:03:10 [ℹ] adding identity "arn:aws:iam::<aws_client_id>:role/eksctl-test-cluster-nodegroup-lin-NodeInstanceRole-Y6JRBHNK5M7I" to auth ConfigMap
2021-03-18 11:03:10 [ℹ] nodegroup "linux-node" has 0 node(s)
2021-03-18 11:03:10 [ℹ] waiting for at least 2 node(s) to become ready in "linux-node"
2021-03-18 11:03:42 [ℹ] nodegroup "linux-node" has 2 node(s)
2021-03-18 11:03:42 [ℹ] node "ip-192-xxx-xx-xxx.eu-central-1.compute.internal" is ready
2021-03-18 11:03:42 [ℹ] node "ip-192-xxx-xx-xxx.eu-central-1.compute.internal" is ready
2021-03-18 11:03:43 [ℹ] kubectl command should work with "/root/.kube/config", try 'kubectl get nodes'
2021-03-18 11:03:43 [✔] EKS cluster "test-cluster" in "eu-central-1" region is ready
我偶尔会在AWS控制台中查看资源,同时指向错误的区域,但没有看到我所期望的资源。从您的运行情况来看,您在"eu-central-1"
中创建了集群。确保您指向AWS控制台中的正确区域。