aws eks list-updates
Lists the updates associated with an Amazon EKS resource in your Amazon Web Services account, in the specified Amazon Web Services Region. AWS CLI reference
3 examples 6 options Its page in the AWS CLI reference
Examples
Example 1: To list the updates for a cluster
The following list-updates example lists the current updates for a cluster named example in your default region.
aws eks list-updates --name exampleIdentify--nameThe name of the Amazon EKS cluster to list updates for.Its output
{
"updateIds": [
"a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
]
}Example 2: To list all the update IDs for an Amazon EKS Node group
The following list-updates example lists all the update IDs for an Amazon EKS Node group.
aws eks list-updates --name my-eks-cluster --nodegroup-name my-eks-managed-node-groupIdentify--nameThe name of the Amazon EKS cluster to list updates for.--nodegroup-nameThe name of the Amazon EKS managed node group to list updates for.Its output
{
"updateIds": [
"a1b2c3d4-5678-90ab-cdef-EXAMPLE22222"
]
}Example 3: To list all the update IDs for an Amazon EKS add-on
The following list-updates example lists all the update IDs for an Amazon EKS Add-on.
aws eks list-updates --name my-eks-cluster --addon-name vpc-cniIdentify--nameThe name of the Amazon EKS cluster to list updates for.--addon-nameThe names of the installed add-ons that have available updates.Its output
{
"updateIds": [
"a1b2c3d4-5678-90ab-cdef-EXAMPLE33333"
]
}For more information, see Update existing cluster to new Kubernetes version in the Amazon EKS User Guide.
Options
--addon-nameThe names of the installed add-ons that have available updates.--capability-nameThe name of the capability for which you want to list updates.--max-resultsThe maximum number of results, returned in paginated output.--nameThe name of the Amazon EKS cluster to list updates for.--next-tokenThe nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter.--nodegroup-nameThe name of the Amazon EKS managed node group to list updates for.