Update annotations.md (#8103)

Update the example to show that annotations are part of the metadata of an object.
This commit is contained in:
Fabian Deutsch
2018-04-16 18:33:58 +02:00
committed by k8s-ci-robot
parent da86ab8831
commit 799edfa3be
@@ -19,10 +19,14 @@ include characters not permitted by labels.
Annotations, like labels, are key/value maps:
"annotations": {
"key1" : "value1",
"key2" : "value2"
}
```json
"metadata": {
"annotations": {
"key1" : "value1",
"key2" : "value2"
}
}
```
Here are some examples of information that could be recorded in annotations: