Difference between revisions of "Eksctl get cluster"

From wikieduonline
Jump to navigation Jump to search
Line 48: Line 48:
 
* <code>[[aws ecs list-clusters]]</code>
 
* <code>[[aws ecs list-clusters]]</code>
 
* <code>[[eksctl get cluster -A]]</code>
 
* <code>[[eksctl get cluster -A]]</code>
 +
* [[AWS_PROFILE]]
  
 
== See also ==
 
== See also ==

Revision as of 17:10, 5 September 2022

eksctl get cluster
eksctl get cluster --all-regions
eksctl get cluster --help

Examples

eksctl get cluster
NAME			REGION		EKSCTL CREATED
education-eks-fuYvBeqk	us-east-2	False
2022-05-20 11:33:20 [ℹ]  eksctl version 0.97.0
2022-05-20 11:33:20 [ℹ]  using region us-east-2
NAME			REGION		EKSCTL CREATED
education-eks-LZIQaQdP	us-east-2	False
eksctl get cluster
2022-05-10 12:52:05 [ℹ]  eksctl version 0.96.0
2022-05-10 12:52:05 [ℹ]  using region eu-central-1
No clusters found
eksctl get cluster --all-regions
2022-05-10 20:06:58 [ℹ]  eksctl version 0.96.0
2022-05-10 20:06:58 [ℹ]  using region eu-central-1
NAME			REGION		EKSCTL CREATED
mytest-eks-gqLnwyJm	us-east-2	False
eksctl get cluster
2021-11-14 15:55:16 [ℹ]  eksctl version 0.73.0
2021-11-14 15:55:16 [ℹ]  using region us-east-2
NAME				REGION		EKSCTL CREATED
your-eks-cluster-name	us-east-2	True
eksctl get cluster
2022-05-10 12:49:02 [ℹ]  eksctl version 0.73.0
2022-05-10 12:49:02 [ℹ]  using region eu-central-1
No clusters found

Errors

eksctl get cluster
.../...
error StatusCode: 403, RequestID: .../..., api error ExpiredToken: The security token included in the request is expired
eksctl get cluster
Error: checking AWS STS accesscannot get role ARN for current session: operation error STS: GetCallerIdentity, failed to sign request: failed to retrieve credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request send failed, Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: i/o timeout

Related

See also

Advertising: