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

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-cluster-version.html
 
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-cluster-version.html
 
* https://awscli.amazonaws.com/v2/documentation/api/2.0.34/reference/eks/update-cluster-config.html
 
* https://awscli.amazonaws.com/v2/documentation/api/2.0.34/reference/eks/update-cluster-config.html
 +
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-cluster-config.html
  
 
  [[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.22]]

Revision as of 18:05, 26 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
aws eks update-cluster-config --region region-code --name my-cluster --resources-vpc-config endpointPublicAccess=true,publicAccessCidrs="203.0.113.5/32",endpointPrivateAccess=true


Examples

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

See also

Advertising: