- Getting Started with Kubernetes(Second Edition)
- Jonathan Baier
- 121字
- 2021-07-02 22:51:28
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.
推薦閱讀
- Ansible Quick Start Guide
- Drupal 7 Multilingual Sites
- 西門子PLC與InTouch綜合應用
- 網頁編程技術
- 影視后期制作(Avid Media Composer 5.0)
- Matplotlib 3.0 Cookbook
- 21天學通C++
- 可編程控制器技術應用(西門子S7系列)
- Visual Basic.NET程序設計
- PostgreSQL 10 Administration Cookbook
- 中國戰略性新興產業研究與發展·智能制造裝備
- 奇點將至
- 統計挖掘與機器學習:大數據預測建模和分析技術(原書第3版)
- IBM? SmartCloud? Essentials
- PyTorch深度學習