- Kubernetes on AWS
- Ed Robinson
- 249字
- 2021-06-10 18:41:23
Labeling all the things
Labels are key-value pairs that are attached to resources, such as pods. They are intended to contain information that helps you to identify a particular resource.
You might add labels to your pods to identify the application that is being run, as well as other metadata, such as a version number, an environment name, or other labels that pertain to your application.
Labels are very flexible, as Kubernetes leaves it up to you to label your own resources as you see fit.
Once you begin working with Kubernetes, you will discover that you are able to add labels to almost every resource that you create.
The power of being able to add labels that reflect the architecture of your own application is that you are able to use selectors to query the resources using any combination of the labels that you have given your resources. This setup is shown in the following diagram:

You can add labels to many of the resources that you will create in Kubernetes and then query them with selectors.
- Mastering Proxmox(Third Edition)
- 腦動力:C語言函數(shù)速查效率手冊
- 手把手教你玩轉(zhuǎn)RPA:基于UiPath和Blue Prism
- Mastering Salesforce CRM Administration
- PIC單片機(jī)C語言非常入門與視頻演練
- 機(jī)器自動化控制器原理與應(yīng)用
- Hands-On Cybersecurity with Blockchain
- 21天學(xué)通Java
- 基于單片機(jī)的嵌入式工程開發(fā)詳解
- 單片機(jī)技術(shù)一學(xué)就會
- 在實(shí)戰(zhàn)中成長:C++開發(fā)之路
- The DevOps 2.1 Toolkit:Docker Swarm
- 人工智能:智能人機(jī)交互
- 網(wǎng)絡(luò)信息安全項(xiàng)目教程
- Cisco UCS Cookbook