kubernetes 中 Service

service with the outside world Unicom
pod and service relations
service to provide dynamic ip-aware resource access entry
to prevent the pod lost to the
access policy defines a set of pod of
support clusterip, nodeport, loadbalance three modes of
service and to achieve the underlying iptables ipvs
when the service definition, need to figure out container ports and service ports
associated with the service pod and
matched by the tag selector a pod
service implements load balancing pod
label-selector
service type
default cluster-ip for internal communication cluster virtual IP
nodeport assign a port on each node as external access entrance
loadbalancer work on a particular cloud provider
clsterip type
a visit clusterip implemented by iptables / lvs, service port forwarding over the election of a pod
nodeport, exposed ports on each of the Node
loadbalancer
run Yunting Commerce in
service proxy mode
the underlying traffic forwarding
iptables and ipvs

Published 10 original articles · won praise 0 · Views 216

Guess you like

Origin blog.csdn.net/weixin_42438967/article/details/104793825