Merge pull request #48988 from kundan2707/cluster_service_label

documented label cluster-service
pull/49028/head
Kubernetes Prow Robot 2024-12-11 22:44:04 +00:00 committed by GitHub
commit 1ee78c13e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -1427,6 +1427,19 @@ Used on: Ingress
Starting in v1.18, this annotation is deprecated in favor of `spec.ingressClassName`.
{{< /note >}}
### kubernetes.io/cluster-service (deprecated) {#kubernetes-io-cluster-service}
Type: Label
Example: `kubernetes.io/cluster-service: "true"`
Used on: Service
This label indicates that the Service provides a service to the cluster, if the value is set to true.
When you run `kubectl cluster-info`, the tool queries for Services with this label set to true.
However, setting this label on any Service is deprecated.
### storageclass.kubernetes.io/is-default-class
Type: Annotation