InterviewSolution
Saved Bookmarks
| 1. |
Define labels. |
|
Answer» API objects are organised, grouped, and SELECTED using labels. Pods, for example, are "TAGGED" with labels, and SERVICES utilise LABEL selectors to determine which pods to proxy to. This allows services to refer to groups of pods, even treating pods that may have distinct containers as linked entities. Labels can be included in the metadata of almost any object. As a result, labels can be used to GROUP arbitrarily similar objects; for example, all of an application's pods, services, replication controllers, and deployment configurations can be grouped. |
|