K8S notes, stick

selected service label is specified by the pod selector.

How to access the service it? Within a cluster access, use cluster ip; cluster external access, use NodePort.

cluster ip is the virtual address, only with the port to access. The use of NodePort, is listening on a port on the node node.

Guess you like

Origin www.cnblogs.com/allenwas3/p/11801510.html