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

Networks

We previously mentioned that all the containers in a Pod share the Node's network. In addition, all Nodes in a Kubernetes cluster are expected to be connected to each other and share a private cluster-wide network. When Kubernetes runs containers within a Pod, it does so within this isolated network. Kubernetes is responsible for handling IP addresses, creating DNS entries, and making sure that a Pod can communicate with another Pod in the same Kubernetes cluster.

Another resource, Services, which we will dig into later, is what Kubernetes uses to expose Pods to one another over this private network or handle connections in and out of the cluster. By default, a Pod running in this private, isolated network is not exposed outside of the Kubernetes cluster. Depending on how your Kubernetes cluster was created, there are multiple avenues for opening up access to your software from outside the cluster, which we'll detail later with Services that include LoadBalancer, NodePort, and Ingress.

主站蜘蛛池模板: 盐亭县| 定州市| 宜兰市| 马山县| 兴海县| 山东| 新竹县| 宜宾市| 格尔木市| 沙河市| 保亭| 青海省| 聂拉木县| 阿坝县| 合川市| 红安县| 碌曲县| 桂东县| 泰和县| 潞城市| 拉萨市| 正安县| 增城市| 鄂伦春自治旗| 托克逊县| 隆子县| 扎鲁特旗| 泗水县| 乐都县| 多伦县| 柳江县| 麻江县| 庆城县| 东宁县| 泌阳县| 博湖县| 嘉定区| 龙井市| 湖北省| 鹰潭市| 井研县|