gpt4 book ai didi

kubernetes - 使用Rancher 2.1.7旋转Kubernetes证书

转载 作者:行者123 更新时间:2023-12-02 12:10:50 25 4
gpt4 key购买 nike

当Rancher版本不提供此选项时,如何旋转K8s群集的证书?我有Rancher 2.1.7,对此一无所获。您知道执行此工作的API或命令行吗?
我用action = rotateCertificates尝试了API,但它返回了InvalidAction。
我无法更新Rancher。

最佳答案

docs上如何做看起来很清楚looks:

Available as of v2.0.14 and v2.1.9

Rancher launched Kubernetes clusters have the ability to rotate theauto-generated certificates through the API.

  1. In the Global view, navigate to the cluster that you want to rotatecertificates.

  2. Select the ⋮ > View in API.

  3. Click on RotateCertificates.

  4. Click on Show Request.

  5. Click on Send Request.


✌️☮️

关于kubernetes - 使用Rancher 2.1.7旋转Kubernetes证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63193099/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com