pod-template-hash label updated
code style has applied to the pod-template-hash label.pull/20389/head
parent
9f4cc2fc1d
commit
f559ac498a
|
@ -124,7 +124,7 @@ In this example:
|
||||||
* `AGE` displays the amount of time that the application has been running.
|
* `AGE` displays the amount of time that the application has been running.
|
||||||
|
|
||||||
Notice that the name of the ReplicaSet is always formatted as `[DEPLOYMENT-NAME]-[RANDOM-STRING]`. The random string is
|
Notice that the name of the ReplicaSet is always formatted as `[DEPLOYMENT-NAME]-[RANDOM-STRING]`. The random string is
|
||||||
randomly generated and uses the pod-template-hash as a seed.
|
randomly generated and uses the `pod-template-hash` as a seed.
|
||||||
|
|
||||||
6. To see the labels automatically generated for each Pod, run `kubectl get pods --show-labels`. The following output is returned:
|
6. To see the labels automatically generated for each Pod, run `kubectl get pods --show-labels`. The following output is returned:
|
||||||
```shell
|
```shell
|
||||||
|
|
Loading…
Reference in New Issue