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
<code>[[aws eks]] describe-cluster</code>
+
 
  
 
== 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": "ACTIVE"
+
  "status": "UPDATING"
 
 
aws eks describe-cluster --name  $CLUSTER_NAME |  grep [[endpoint]]
 
aws eks describe-cluster --name your_cluster_name | grep [[endpointPublicAccess]]
 
 
 
 
 
* <code>[[aws eks describe-cluster --name my-cluster --query "cluster.identity.oidc.issuer" --output text]]</code>
 
  
 
* <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>
{
 
    "cluster": {
 
        "name": "education-eks-fuYvBeqk",
 
        "arn": "arn:aws:eks:us-east-2:12345567:cluster/education-eks-fuYvBeqk",
 
        "createdAt": "2022-06-10T20:16:02.354000+02:00",
 
        "version": "1.21",
 
        "endpoint": "https://XXXXX7EB0A.gr7.us-east-2.eks.amazonaws.com",
 
        "roleArn": "arn:aws:iam::12345567:role/education-eks-fuYvBeqk20220610181533885900000003",
 
        "resourcesVpcConfig": {
 
            "subnetIds": [
 
                "subnet-01f1c5501eafda971",
 
                "subnet-021dc3fee44b6082d",
 
                "subnet-0cab46c16c5688d6f"
 
            ],
 
            "securityGroupIds": [
 
                "sg-0c9598605bfb6d96a"
 
            ],
 
            "clusterSecurityGroupId": "sg-0ba2953e46b431170",
 
            "vpcId": "vpc-0717226a31exxxxx",
 
            "[[endpointPublicAccess]]": true,
 
            "[[endpointPrivateAccess]]": false,
 
            "publicAccessCidrs": [
 
                "0.0.0.0/0"
 
            ]
 
        },
 
        "kubernetesNetworkConfig": {
 
            "serviceIpv4Cidr": "172.20.0.0/16",
 
            "ipFamily": "ipv4"
 
        },
 
        "logging": {
 
            "clusterLogging": [
 
                {
 
                    "types": [
 
                        "[[api]]",
 
                        "[[audit]]",
 
                        "[[authenticator]]",
 
                        "[[controllerManager]]",
 
                        "[[scheduler]]"
 
                    ],
 
                    "enabled": false
 
                }
 
            ]
 
        },
 
        "[[identity]]": {
 
            "[[oidc]]": {
 
                "issuer": "https://[[oidc.eks]].us-east-2.amazonaws.com/id/6457185BA3C72F8Axxxxxxxx"
 
            }
 
        },
 
        "status": "UPDATING",
 
        "[[certificateAuthority]]": {
 
            "data":  "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM1ekNDQWMrZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EWXhNREU0TWpFek1sb1hEVE15TURZd056RTRNakV6TWxvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBSnQzCnArK1RwdVhjYlkvc0hLOGx6ZFlvR0s1Ky9UVnZ2M2ZMc2Y2SjVLLy80TWIraDlmcHREN0FDUExjbFYzWFkxNncKY3J5UWQ4NjB3UkV6aHhublFQSHpoWVA0RjJyODJpTDluTFZ5Tkd5QXU1V0RqTnp2MnJnbC9uUkowcTJKcTBzcApvVnRBcGJsbG45aDVTeWhIMkdhZDNua1ovZ2xJYUl2bDZLQ3JteCtqdzRUNUJDcW5janFhVXRoa3cya3g3UlAyCjBzZTFOdUZZK3BNVlBDWGFUb1231232131232132131232131231321mRSt5WTkydkpuYm83ZjRxT1hndGZxRVpQdFJkUHBkRVdTU0xta0pxbitSWUgyOFptRkFjdWpveQp6U053RUdxRnhTQlQrVTA5emZzQ0F3RUFBYU5DTUVBd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZNSjFzYkpNK29BUnF6ZUpxdWNUbU hrMkhha2lNQTBHQ1NxR1NJYjMKRFFFQkN3VUFBNElCQVFCSHE2VGd3SCtTWitERUxnalAzbHVXSUZLRmpoWUkxalVpM2kyQmhMcm5OYVdTODdDeAp1dGU5WGErNFNlMzJERHUvbkhOcXdsUHp4TXVKVFUxZVdGT1lRTk5LS3ljWnREY2RtbVRzUHNYWjFhdkNLMVA4ClBMS0w4Q2hzVDVHMDNnbnhCSUFqZllrK0FFY3hjT3c5YVNxU3d3OGFsTFIzL2RGMWYyVWtzUk1UTlVjd 0Z2c0kKVVNONTJwekJKQnFrTFdMNFhzWkg1a3JRTG9DRWhYRUloa1M2WjVHeDFGWDN3VGdKdnM3a3RLZk15TDhPUStFdApGbVZ4ajRRNjVjRmVKSnZoUjUwM091eDR5WWkzYnBsY Wk3UnVGUXI0TWNpVGxydmZxY2x3MUhhYVAvQzhRRk1XCitzeEdsUjNqSDYvMUtqb1JoeEkzMUZ4RS9acHB1aGV0cHF1NgotLS
 
XXXXXXXXXXX"
 
        },
 
        "platformVersion": "eks.7",
 
        "tags": {}
 
    }
 
}
 
 
 
 
 
 
 
 
 
.../...
 
        },
 
        "platformVersion": "eks.2",
 
        "tags": {}
 
    }
 
}
 
  
 
== Official example ==
 
== Official example ==
Line 116: Line 43:
 
* <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 version --short=true]]</code>
+
* <code>[[kubectl]]</code>
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: