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

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
主站蜘蛛池模板: 富蕴县| 泾阳县| 孝义市| 盐边县| 简阳市| 罗田县| 平罗县| 永靖县| 咸阳市| 丰原市| 谢通门县| 大连市| 阜新市| 中牟县| 麻江县| 南澳县| 安吉县| 平原县| 洪湖市| 长葛市| 苏尼特左旗| 瑞丽市| 广汉市| 阳山县| 宿松县| 青浦区| 崇信县| 双鸭山市| 台中市| 华容县| 达拉特旗| 社会| 旬邑县| 宾川县| 施甸县| 安福县| 南川市| 天祝| 正阳县| 凤凰县| 南川市|