- 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.
- Java編程全能詞典
- 輕松學(xué)C語言
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- 工業(yè)機(jī)器人入門實(shí)用教程(KUKA機(jī)器人)
- 網(wǎng)絡(luò)組建與互聯(lián)
- 自動(dòng)控制理論(非自動(dòng)化專業(yè))
- Machine Learning with Apache Spark Quick Start Guide
- Red Hat Linux 9實(shí)務(wù)自學(xué)手冊(cè)
- Windows Server 2003系統(tǒng)安全管理
- LMMS:A Complete Guide to Dance Music Production Beginner's Guide
- Linux系統(tǒng)下C程序開發(fā)詳解
- 空間機(jī)器人智能感知技術(shù)
- Hands-On Deep Learning with Go
- Raspberry Pi 3 Projects for Java Programmers
- 玩轉(zhuǎn)機(jī)器人:基于Proteus的電路原理仿真(移動(dòng)視頻版)