使用 Kubernetes 1.1 安装插件的正确方法是什么?
What is the correct way to install addons with Kubernetes 1.1?
什么是正确的安装方法addons with Kubernetes 1.1? The docs 在这个问题上没有我想的那么清楚;他们似乎暗示应该将插件的 yaml 文件复制到主节点上的 /etc/kubernetes/addons,但我已经尝试过了,但没有任何反应。
此外,为了增加混淆,文档暗示插件与 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
针对附加组件的复制控制器和服务文件安装。如果您还没有创建 kube-system
命名空间,您需要先创建它,并且一些附加组件(如 dns)要求您在 jinja 模板中填写一些值,否则用盐处理。
什么是正确的安装方法addons with Kubernetes 1.1? The docs 在这个问题上没有我想的那么清楚;他们似乎暗示应该将插件的 yaml 文件复制到主节点上的 /etc/kubernetes/addons,但我已经尝试过了,但没有任何反应。
此外,为了增加混淆,文档暗示插件与 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
针对附加组件的复制控制器和服务文件安装。如果您还没有创建 kube-system
命名空间,您需要先创建它,并且一些附加组件(如 dns)要求您在 jinja 模板中填写一些值,否则用盐处理。