gpt4 book ai didi

kubernetes - 使用 Kubernetes 1.1 安装插件的正确方法是什么?

转载 作者:行者123 更新时间:2023-12-04 00:04:16 25 4
gpt4 key购买 nike

正确的安装方式是什么addons使用 Kubernetes 1.1? docs在这个问题上没有我想要的那么清楚;他们似乎暗示应该将插件的 yaml 文件复制到主节点上的/etc/kubernetes/addons,但我已经尝试过了,但没有任何 react 。

此外,为了增加混淆,文档暗示插件与 Kubernetes 捆绑在一起:

So the only persistent way to make changes in add-ons is to update the manifests on the master server. But still, users are discouraged to do it on their own - they should rather wait for a new release of Kubernetes that will also contain new versions of add-ons.



那么,我应该如何真正安装插件,f.ex。 cluster-loadbalancing ,使用 Kubernetes 1.1?

最佳答案

... they seem to imply that one should copy addons' yaml files to /etc/kubernetes/addons on master nodes, but I have tried this and nothing happens.



仅当您使用基于盐的安装机制之一时,这才是正确的。

So, how should I really install addons, f.ex. cluster-loadbalancing, with Kubernetes 1.1?



大多数附加组件只需运行 kubectl create -f 即可安装针对附加组件的复制 Controller 和服务文件。您需要创建 kube-system如果您还没有,首先命名空间,并且一些附加组件(如 dns )要求您在 jinja 模板中填写一些值,否则这些值将由盐处理。

关于kubernetes - 使用 Kubernetes 1.1 安装插件的正确方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36089312/

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