gpt4 book ai didi

kubernetes - 在 kind 集群中编辑 extraPortMappings

转载 作者:行者123 更新时间:2023-12-05 03:40:15 24 4
gpt4 key购买 nike

我已经扫描了所有资源,仍然找不到一种方法来更改 Kind 集群中的 extraPortMappings 而不删除并重新创建。

这可能吗?如何实现?

最佳答案

官方文档中没有明确说明,但我找到了一些引用资料证实:您的想法是正确的,更改 extraPortMappings(以及其他集群设置)只有通过重新创建这种类型才有可能集群。

if you use extraPortMappings in your config, they are “fixed” andcannot be modified, unless you recreate the cluster.

Source - Issues I Came Across

Note that the cluster configuration cannot be changed. The onlyworkaround is to delete the cluster (see below) and create another onewith the new configuration.

Source - Kind Installation

However, there are obvious disadvantages in the configuration andupdate of the cluster, and the cluster can only be configured andupdated by recreating the cluster. So you need to considerconfiguration options when you initialize the cluster.

Source - Restrictions

关于kubernetes - 在 kind 集群中编辑 extraPortMappings,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68257934/

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