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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-cluster-version.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.21]]
  
{{aws eks}}
+
 
 +
== 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": []
 +
    }
 +
}
 +
 
 +
<pre>
 +
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": []
 +
    }
 +
}
 +
</pre>
 +
Check upgrade: <code>[[kubectl version --short=true]]</code>
 +
 
 +
 
 +
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 ==
 +
* <code>[[kubectl version --short]]</code>
 +
* <code>[[kubectl cluster-info]]</code>
 +
* <code>[[aws eks update-nodegroup-version]]</code>
 +
* <code>[[aws eks list-clusters --output text]] | awk '{print $2}'</code>
 +
* <code>[[eksctl upgrade]]</code>
 +
* <code>[[aws eks update-cluster-config]]</code>
 +
* <code>[[aws eks list-updates]]</code>
 +
 
 +
== See also ==
 +
* {{aws eks}}
 +
 
 +
[[Category:EKS]]

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: