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

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
主站蜘蛛池模板: 伽师县| 隆林| 沛县| 芦山县| 班玛县| 德昌县| 德安县| 双鸭山市| 安国市| 汉阴县| 昭通市| 新田县| 临城县| 台南县| 金川县| 云和县| 天全县| 牙克石市| 格尔木市| 巩义市| 壤塘县| 南涧| 虹口区| 乡城县| 墨脱县| 云安县| 正定县| 宣恩县| 石泉县| 陇西县| 南汇区| 富锦市| 新余市| 贵溪市| 隆尧县| 新竹市| 牡丹江市| 滦平县| 隆回县| 桂平市| 阳曲县|