aws eks update-cluster-version

From wikieduonline
Jump to navigation Jump to search

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: