diff --git a/docs/labels.md b/docs/labels.md index 516a0b6a74f..9a3700978cc 100644 --- a/docs/labels.md +++ b/docs/labels.md @@ -81,12 +81,14 @@ _Set-based_ requirements can be mixed with _equality-based_ requirements. For ex ## API LIST and WATCH operations may specify label selectors to filter the sets of objects returned using a query parameter. Both requirements are permitted: - - _equality-based_ requirements: `?label-selector=key1%3Dvalue1,key2%3Dvalue2` - - _set-based_ requirements: `?label-selector=key+in+%28value1%2Cvalue2%29%2Ckey2+notin+%28value3` + + * _equality-based_ requirements: `?label-selector=key1%3Dvalue1,key2%3Dvalue2` + * _set-based_ requirements: `?label-selector=key+in+%28value1%2Cvalue2%29%2Ckey2+notin+%28value3` Kubernetes also currently supports two objects that use label selectors to keep track of their members, `service`s and `replicationcontroller`s: -- `service`: A [service](/docs/services.md) is a configuration unit for the proxies that run on every worker node. It is named and points to one or more pods. -- `replicationcontroller`: A [replication controller](/docs/replication-controller.md) ensures that a specified number of pod "replicas" are running at any one time. + +* `service`: A [service](/docs/services.md) is a configuration unit for the proxies that run on every worker node. It is named and points to one or more pods. +* `replicationcontroller`: A [replication controller](/docs/replication-controller.md) ensures that a specified number of pod "replicas" are running at any one time. The set of pods that a `service` targets is defined with a label selector. Similarly, the population of pods that a `replicationcontroller` is monitoring is also defined with a label selector. For management convenience and consistency, `services` and `replicationcontrollers` may themselves have labels and would generally carry the labels their corresponding pods have in common.