- Kubernetes on AWS
- Ed Robinson
- 187字
- 2021-06-10 18:41:23
Services
The final basic tool that Kubernetes gives us to manage our applications is the service. Services give us a convenient way of accessing our services within our cluster, something often referred to as service discovery.
In practice, a service allows us to define a label selector to refer to a group of pods and then map that to something that our application can consume, without having to be modified to query the Kubernetes API to gather this information. Typically, a service will provide a stable IP address or DNS name that can be used to access the underlying pods that it refers to in a round robin fashion.
By using a service, our applications don't need to know that they are running on Kubernetes-we just need to configure them correctly with the DNS name or IP address of a service that they depend on.
A service provides a way for other applications in the cluster to discover pods that match a particular label selector. It does this by providing a stable IP address and, optionally, a DNS name. This setup is shown in the following diagram:

- ArchiCAD 19:The Definitive Guide
- 構(gòu)建高質(zhì)量的C#代碼
- Introduction to DevOps with Kubernetes
- 控制與決策系統(tǒng)仿真
- Hadoop 2.x Administration Cookbook
- PyTorch Deep Learning Hands-On
- 塊數(shù)據(jù)5.0:數(shù)據(jù)社會(huì)學(xué)的理論與方法
- 傳感器與物聯(lián)網(wǎng)技術(shù)
- 觸控顯示技術(shù)
- 21天學(xué)通C語(yǔ)言
- 運(yùn)動(dòng)控制系統(tǒng)應(yīng)用與實(shí)踐
- 基于Xilinx ISE的FPAG/CPLD設(shè)計(jì)與應(yīng)用
- Practical Big Data Analytics
- 教育機(jī)器人的風(fēng)口:全球發(fā)展現(xiàn)狀及趨勢(shì)
- 大數(shù)據(jù)案例精析