使用kubectl部署集群网络组件。
1
$ kubectl apply -f calico.yaml
部署完成后如下图所示,coredns服务已处于Running状态,node状态处于Ready状态。