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

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.

主站蜘蛛池模板: 酉阳| 湟中县| 壤塘县| 通化县| 大新县| 儋州市| 松滋市| 平原县| 于都县| 漳平市| 绩溪县| 靖宇县| 秦安县| 惠东县| 邳州市| 弥渡县| 博罗县| 台南县| 资中县| 隆尧县| 常德市| 新乐市| 永福县| 保亭| 连江县| 通渭县| 鄂尔多斯市| 福泉市| 渝中区| 乐亭县| 孝义市| 武邑县| 林西县| 松江区| 淄博市| 竹山县| 甘南县| 兴国县| 保德县| 梅河口市| 巴东县|