Editing Aws eks describe-cluster
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/describe-cluster.html | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/describe-cluster.html | ||
− | + | ||
== Examples == | == Examples == | ||
* <code>[[aws eks describe-cluster --name your_cluster_name]]</code> | * <code>[[aws eks describe-cluster --name your_cluster_name]]</code> | ||
aws eks describe-cluster --name your_cluster_name | grep status | aws eks describe-cluster --name your_cluster_name | grep status | ||
− | "status": "UPDATING" | + | "status": "UPDATING" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* <code>[[aws eks list-clusters --output text]] | awk '{print $2}' | xargs -n1 aws eks describe-cluster --name</code> | * <code>[[aws eks list-clusters --output text]] | awk '{print $2}' | xargs -n1 aws eks describe-cluster --name</code> | ||
+ | * <code>[[aws eks describe-cluster]] --name my-cluster --query "cluster.identity.[[oidc]].issuer" --output text</code> | ||
{ | { | ||
Line 59: | Line 54: | ||
] | ] | ||
}, | }, | ||
− | " | + | "identity": { |
− | " | + | "oidc": { |
"issuer": "https://[[oidc.eks]].us-east-2.amazonaws.com/id/6457185BA3C72F8Axxxxxxxx" | "issuer": "https://[[oidc.eks]].us-east-2.amazonaws.com/id/6457185BA3C72F8Axxxxxxxx" | ||
} | } | ||
Line 70: | Line 65: | ||
}, | }, | ||
"platformVersion": "eks.7", | "platformVersion": "eks.7", | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"tags": {} | "tags": {} | ||
} | } | ||
Line 116: | Line 101: | ||
* <code>[[aws eks list-clusters]] --output text | awk '{print $2}'</code> | * <code>[[aws eks list-clusters]] --output text | awk '{print $2}'</code> | ||
* <code>[[eksctl]]</code> | * <code>[[eksctl]]</code> | ||
− | * <code>[[kubectl | + | * <code>[[kubectl]]</code> |
== See also == | == See also == |
Advertising: