官术网_书友最值得收藏!

Networking

Our cluster will need a networking layer for the pods to communicate on. Note that kubeadm requires a CNI compatible network fabric. The list of plugins currently available can be found here:

http://kubernetes.io/docs/admin/addons/

For our example, we will use calico. We will need to create the calico components on our cluster using the following yaml. For convenience you can download it here:

http://docs.projectcalico.org/v1.6/getting-started/kubernetes/installation/hosted/kubeadm/calico.yaml

Once you have this file on your master, create the components with the following command:

$ kubectl apply -f calico.yaml

Give this a minute to run setup and then list the kube-system nodes to check:

$ kubectl get pods --namespace=kube-system

You should get a listing similar to the following one with three new calico pods and one completed job that is not shown:

Calico setup
主站蜘蛛池模板: 乌鲁木齐县| 南昌市| 犍为县| 枣庄市| 安化县| 武鸣县| 宾川县| 修文县| 清新县| 咸丰县| 柘荣县| 苗栗市| 来宾市| 南雄市| 永和县| 浏阳市| 曲阳县| 图木舒克市| 河南省| 巩留县| 个旧市| 舒城县| 临洮县| 兰西县| 邻水| 藁城市| 光泽县| 上饶市| 双柏县| 宜兴市| 仲巴县| 溧阳市| 新巴尔虎左旗| 湄潭县| 澎湖县| 海阳市| 富锦市| 抚州市| 焦作市| 永丰县| 绩溪县|