Skip to content

Commit

Permalink
Update annotations.md (#8103)
Browse files Browse the repository at this point in the history
Update the example to show that annotations are part of the metadata of an object.
  • Loading branch information
fabiand authored and k8s-ci-robot committed Apr 16, 2018
1 parent da86ab8 commit 799edfa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/concepts/overview/working-with-objects/annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 799edfa

Please sign in to comment.