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

Labels

Labels give us another level of categorization, which becomes very helpful in terms of everyday operations and management. Similar to tags, labels can be used as the basis of service discovery as well as a useful grouping tool for day-to-day operations and management tasks.

Labels are just simple key-value pairs. You will see them on pods, replication controllers, replica sets, services, and so on. The label acts as a selector and tells Kubernetes which resources to work with for a variety of operations. Think of it as a filtering option.

We will take a look at labels more in depth later in this chapter, but first, we will explore the remaining three constructs—services, replication controllers, and replica sets.

主站蜘蛛池模板: 临湘市| 乌兰察布市| 济阳县| 洛阳市| 抚远县| 石河子市| 姚安县| 舞阳县| 河北省| 禄丰县| 清涧县| 金乡县| 新源县| 徐州市| 竹溪县| 化隆| 武穴市| 织金县| 新余市| 马尔康县| 沾化县| 张掖市| 巴青县| 连云港市| 民勤县| 贵州省| 阳东县| 扎鲁特旗| 萝北县| 秦安县| 伊吾县| 神池县| 麻江县| 邮箱| 博乐市| 东莞市| 枣阳市| 五台县| 河津市| 陇川县| 廊坊市|