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

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.

主站蜘蛛池模板: 双柏县| 吴旗县| 宁国市| 哈尔滨市| 若尔盖县| 安多县| 阳曲县| 定西市| 枣强县| 岳阳县| 嵩明县| 兴义市| 兴文县| 榆中县| 同德县| 焉耆| 台前县| 长治市| 桦川县| 武乡县| 裕民县| 龙口市| 措美县| 文登市| 朝阳县| 巴林左旗| 留坝县| 阳春市| 辉南县| 宽城| 盘锦市| 卢龙县| 临泽县| 阿拉善盟| 垣曲县| 永州市| 疏附县| 西吉县| 四川省| 开封市| 海门市|