Remove stale information about apiVersion.

This commit is contained in:
Mitesh Jain 2022-04-06 00:49:09 +05:30
parent f218c25778
commit 1a5fe3ccbb
No known key found for this signature in database
GPG Key ID: E397C9E72FBFEE6F
1 changed files with 0 additions and 2 deletions

View File

@ -223,8 +223,6 @@ In this manner, a ReplicaSet can own a non-homogenous set of Pods
As with all other Kubernetes API objects, a ReplicaSet needs the `apiVersion`, `kind`, and `metadata` fields.
For ReplicaSets, the `kind` is always a ReplicaSet.
The API version `apps/v1` on the ReplicaSet kind is the current version and is enabled by default.
Refer to the first lines of the `frontend.yaml` example for guidance.
The name of a ReplicaSet object must be a valid
[DNS subdomain name](/docs/concepts/overview/working-with-objects/names#dns-subdomain-names).