AWS-UpdateEKSCluster - AWS Systems Manager 自動化 Runbook 參考

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AWS-UpdateEKSCluster

Description

AWS-UpdateEKSCluster Runbook 可協助您將 Amazon Elastic Kubernetes Service (Amazon EKS) 叢集更新為您想要使用的 Kubernetes 版本。

執行此自動化 (主控台)

文件類型

 自動化

擁有者

Amazon

平台

Linux、macOS, Windows

參數

  • AutomationAssumeRole

    類型:字串

    說明:(選用) 允許 Systems Manager Automation 代表您執行動作ARN的 () 角色的 AWS Identity and Access Management Amazon Resource Name (IAM)。如果未指定角色,Systems Manager Automation 會使用啟動此 Runbook 的使用者許可。

  • ClusterName

    類型:字串

    描述:(必要) Amazon EKS叢集的名稱。

  • 版本

    類型:字串

    說明:(必要) 您要更新叢集的 Kubernetes 版本。

必要IAM許可

AutomationAssumeRole 參數需要下列動作才能成功使用 Runbook。

  • eks:DescribeUpdate

  • eks:UpdateClusterVersion

文件步驟

  • aws:executeAwsApi - 更新 Amazon EKS叢集使用的 Kubernetes 版本。

  • aws:waitForAwsResourceProperty - 等待更新狀態為 Successful