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

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
主站蜘蛛池模板: 开化县| 石棉县| 茌平县| 茂名市| 伊通| 马公市| 镇远县| 建宁县| 桦川县| 东山县| 张家港市| 余姚市| 拜城县| 白玉县| 乳山市| 宁海县| 岑溪市| 宁海县| 北碚区| 宜章县| 许昌县| 娱乐| 株洲市| 兴隆县| 济阳县| 防城港市| 两当县| 内丘县| 新巴尔虎右旗| 洞头县| 库尔勒市| 古交市| 灯塔市| 凤城市| 海兴县| 大化| 大竹县| 辰溪县| 乌兰浩特市| 嘉禾县| 武邑县|