k8s(四)—service服务(暴露方式:ClusterIP、NodePort、LoadBalancer、ExternalName、ingress)
1、service简介2、开启kube-proxy的ipvs[root@server2~]#kubectl-nkube-systemgetpod|grepproxy每个节点都有haproxykube-proxy-d6cp21/1Running6(121mago)5d12hkube-proxy-pqn5q1/1Running6(121mago)5d12hkube-proxy-xt2m91/1Runn