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

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
主站蜘蛛池模板: 富川| 蓬溪县| 广灵县| 酒泉市| 巴里| 万山特区| 金门县| 镇平县| 龙口市| 张北县| 陵水| 湘潭县| 南溪县| 阳信县| 介休市| 扶沟县| 万安县| 德令哈市| 驻马店市| 曲沃县| 灌阳县| 繁峙县| 宜都市| 厦门市| 承德市| 广水市| 霍州市| 惠州市| 临颍县| 山阳县| 三台县| 嘉义县| 邳州市| 兴仁县| 紫云| 宜川县| 双鸭山市| 招远市| 阳江市| 新竹县| 永和县|