What is the correct way to install addons with Kubernetes 1.1?

允我心安 提交于 2019-12-05 08:00:32

... 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.

This is only true if you are using one of the salt-based installation mechanisms.

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

Most of the add-ons can be installed by just running kubectl create -f against the replication controller and service files for the add-on. You need to create the kube-system namespace first if you haven't already, and some of the add-ons (like dns) require you to fill in a few values in a jinja template that would otherwise be handled by salt.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!