Skip to content

Commit 1ee78c1

Browse files
authored
Merge pull request #48988 from kundan2707/cluster_service_label
documented label cluster-service
2 parents 4f8c89c + 9f41c9a commit 1ee78c1

File tree

1 file changed

+13
-0
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+13
-0
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,19 @@ Used on: Ingress
14271427
Starting in v1.18, this annotation is deprecated in favor of `spec.ingressClassName`.
14281428
{{< /note >}}
14291429

1430+
### kubernetes.io/cluster-service (deprecated) {#kubernetes-io-cluster-service}
1431+
1432+
Type: Label
1433+
1434+
Example: `kubernetes.io/cluster-service: "true"`
1435+
1436+
Used on: Service
1437+
1438+
This label indicates that the Service provides a service to the cluster, if the value is set to true.
1439+
When you run `kubectl cluster-info`, the tool queries for Services with this label set to true.
1440+
1441+
However, setting this label on any Service is deprecated.
1442+
14301443
### storageclass.kubernetes.io/is-default-class
14311444

14321445
Type: Annotation

0 commit comments

Comments
 (0)