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

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 in order to check this:

$ 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
主站蜘蛛池模板: 临泽县| 观塘区| 那坡县| 商城县| 巴彦淖尔市| 呼玛县| 延安市| 凤山县| 顺义区| 株洲县| 陈巴尔虎旗| 日喀则市| 清新县| 新干县| 民和| 元谋县| 枣庄市| 博湖县| 宜黄县| 四会市| 拜泉县| 卓尼县| 锦州市| 叙永县| 北京市| 缙云县| 饶平县| 贵州省| 收藏| 铜陵市| 宾阳县| 盐源县| 灵川县| 枣阳市| 湄潭县| 安宁市| 云霄县| 商河县| 崇义县| 福鼎市| 河曲县|