Skip to content

Commit 9f41c9a

Browse files
committed
documented label cluster-service
1 parent a371603 commit 9f41c9a

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
@@ -1423,6 +1423,19 @@ Used on: Ingress
14231423
Starting in v1.18, this annotation is deprecated in favor of `spec.ingressClassName`.
14241424
{{< /note >}}
14251425

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

14281441
Type: Annotation

0 commit comments

Comments
 (0)