mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Merge pull request #11528 from satnam6502/doc23
Add JSON type to code block for labels documentation
This commit is contained in:
commit
81065b24e4
@ -38,7 +38,7 @@ Labels are intended to be used to specify identifying attributes of objects that
|
|||||||
Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time.
|
Labels can be used to organize and to select subsets of objects. Labels can be attached to objects at creation time and subsequently added and modified at any time.
|
||||||
Each object can have a set of key/value labels defined. Each Key must be unique for a given object.
|
Each object can have a set of key/value labels defined. Each Key must be unique for a given object.
|
||||||
|
|
||||||
```
|
```json
|
||||||
"labels": {
|
"labels": {
|
||||||
"key1" : "value1",
|
"key1" : "value1",
|
||||||
"key2" : "value2"
|
"key2" : "value2"
|
||||||
|
Loading…
Reference in New Issue
Block a user