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

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
主站蜘蛛池模板: 黔西| 郯城县| 通海县| 新密市| 西乌| 萍乡市| 通化县| 临西县| 西城区| 大连市| 鹤山市| 都兰县| 筠连县| 湖口县| 建平县| 阳新县| 永和县| 连云港市| 丘北县| 珠海市| 二手房| 治多县| 濮阳市| 改则县| 铅山县| 扶绥县| 武宣县| 西林县| 鄂托克旗| 白朗县| 九寨沟县| 浏阳市| 梁平县| 阿合奇县| 喀什市| 南雄市| 武胜县| 平远县| 原平市| 田林县| 化德县|