Difference between revisions of "Aws eks update-cluster-version"

From wikieduonline
Jump to navigation Jump to search
 
Line 62: Line 62:
 
* <code>[[aws eks list-clusters --output text]] | awk '{print $2}'</code>
 
* <code>[[aws eks list-clusters --output text]] | awk '{print $2}'</code>
 
* <code>[[eksctl upgrade]]</code>
 
* <code>[[eksctl upgrade]]</code>
* <code>[[kubectl get nodes]]</code>
 
 
* <code>[[aws eks update-cluster-config]]</code>
 
* <code>[[aws eks update-cluster-config]]</code>
 
* <code>[[aws eks list-updates]]</code>
 
* <code>[[aws eks list-updates]]</code>

Latest revision as of 13:00, 28 September 2022

aws eks update-cluster-version --name education-eks-fuYvBeqk --kubernetes-version 1.22
aws eks update-cluster-version --name education-eks-fuYvBeqk --kubernetes-version 1.21


Examples[edit]

aws eks update-cluster-version --name education-eks-fuYvBeqk --kubernetes-version 1.22
{
   "update": {
       "id": "999ab34b-c8f6-4575-86fa-8296b23cbc6e",
       "status": "InProgress",
       "type": "VersionUpdate",
       "params": [
           {
               "type": "Version",
               "value": "1.22"
           },
           {
               "type": "PlatformVersion",
               "value": "eks.2"
           }
       ],
       "createdAt": "2022-06-11T01:41:18.110000+02:00",
       "errors": []
   }
}
aws eks update-cluster-version --name education-eks-fuYvBeqk --kubernetes-version 1.21
{
    "update": {
        "id": "f546bf88-be6a-4a80-982a-45b1ef0bcb95",
        "status": "InProgress",
        "type": "VersionUpdate",
        "params": [
            {
                "type": "Version",
                "value": "1.21"
            },
            {
                "type": "PlatformVersion",
                "value": "eks.7"
            }
        ],
        "createdAt": "2022-06-10T21:49:55.877000+02:00",
        "errors": []
    }
}
Check upgrade: kubectl version --short=true


aws eks update-cluster-version --name education-eks-fuYvBeqk --kubernetes-version 1.22
An error occurred (InvalidParameterException) when calling the UpdateClusterVersion operation: Unsupported Kubernetes minor version update from 1.20 to 1.22

Related[edit]

See also[edit]

Advertising: