Fix note about ReplicaSet names

The RS name is always derived from the hash of the pod template and
it's not random.
pull/36274/head
Max Jonas Werner 2022-08-25 13:08:44 +02:00
parent 17d7bd5eeb
commit 89f105390d
No known key found for this signature in database
GPG Key ID: EB525E0F02B52140
1 changed files with 2 additions and 2 deletions

View File

@ -121,8 +121,8 @@ Follow the steps given below to create the above Deployment:
* `READY` displays how many replicas of the application are available to your users.
* `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 randomly generated and uses the `pod-template-hash` as a seed.
Notice that the name of the ReplicaSet is always formatted as `[DEPLOYMENT-NAME]-[HASH]`.
The `HASH` string is the same as the `pod-template-hash` label on the ReplicaSet.
6. To see the labels automatically generated for each Pod, run `kubectl get pods --show-labels`.
The output is similar to: