Update k8s201.md

Minor typo corrected.
pull/6/head
oaktowner 2014-10-21 17:10:56 -07:00
parent 91efe51770
commit 95aca622f5
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ We'll now cover some slightly more advanced topics in Kubernetes, related to app
scaling.
### Labels
Having already learned about Pods and how to create them, ou may be struck by an urge to create many, many pods. Please do! But eventually you will need a system to organize these pods into groups. The system for achieving this in Kubernetes is Labels. Labels are key-value pairs that are attached to each API object in Kubernetes. Label selectors can be passed along with a RESTful ```list``` request to the apiserver to retrieve a list of objects which match that label selector. For example:
Having already learned about Pods and how to create them, you may be struck by an urge to create many, many pods. Please do! But eventually you will need a system to organize these pods into groups. The system for achieving this in Kubernetes is Labels. Labels are key-value pairs that are attached to each API object in Kubernetes. Label selectors can be passed along with a RESTful ```list``` request to the apiserver to retrieve a list of objects which match that label selector. For example:
```sh
cluster/kubecfg.sh -l name=nginx list pods