Difference between revisions of "Eksctl get cluster"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
[[eksctl get]] cluster
 +
[[eksctl get cluster --all-regions]]
 +
[[eksctl get cluster --region]] [[eu-central-1]]
 +
[[eksctl get cluster --help]]
 +
 +
== Examples ==
 +
eksctl get cluster
 +
NAME REGION EKSCTL CREATED
 +
education-eks-fuYvBeqk us-east-2 False
  
  [[eksctl get cluster --help]]
+
  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
 
  eksctl get cluster
Line 8: Line 20:
 
  No clusters found
 
  No clusters found
  
  eksctl get cluster -A
+
  eksctl get cluster --all-regions
 
  2022-05-10 20:06:58 [ℹ]  eksctl version 0.96.0
 
  2022-05-10 20:06:58 [ℹ]  eksctl version 0.96.0
 
  2022-05-10 20:06:58 [ℹ]  using region eu-central-1
 
  2022-05-10 20:06:58 [ℹ]  using region eu-central-1
Line 19: Line 31:
 
  NAME REGION EKSCTL CREATED
 
  NAME REGION EKSCTL CREATED
 
  your-eks-cluster-name us-east-2 True
 
  your-eks-cluster-name us-east-2 True
 
  
 
  eksctl get cluster
 
  eksctl get cluster
Line 25: Line 36:
 
  2022-05-10 12:49:02 [ℹ]  using region eu-central-1
 
  2022-05-10 12:49:02 [ℹ]  using region eu-central-1
 
  No clusters found
 
  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 access]] – [[cannot 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 ==
 
== Related ==
 
* <code>[[eksctl delete cluster]] --name your-eks-cluster-name</code>
 
* <code>[[eksctl delete cluster]] --name your-eks-cluster-name</code>
 +
* <code>[[aws ecs list-clusters]]</code>
 +
* <code>[[eksctl get cluster -A]]</code>
 +
* [[AWS_PROFILE]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:03, 30 December 2022

eksctl get cluster
eksctl get cluster --all-regions
eksctl get cluster --region eu-central-1
eksctl get cluster --help

Examples[edit]

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[edit]

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[edit]

See also[edit]

Advertising: