Package io.strimzi.api
Class ResourceLabels
java.lang.Object
io.strimzi.api.ResourceLabels
An immutable set of labels
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Strimzi cluster the resource is part of.static final StringType of the Strimzi component to which given resource belongs.static final StringStrimzi domain used for the Strimzi labelsstatic final StringThe kind of a Kubernetes / OpenShift Resource.static final StringName of the component to which given resource belongs. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
STRIMZI_DOMAIN
Strimzi domain used for the Strimzi labels- See Also:
-
STRIMZI_KIND_LABEL
The kind of a Kubernetes / OpenShift Resource. It contains the same value as the Kind of the corresponding Custom Resource. It should have on of the following values:- Kafka
- KafkaConnect
- KafkaMirrorMaker
- KafkaBridge
- KafkaUser
- KafkaTopic
- See Also:
-
STRIMZI_CLUSTER_LABEL
The Strimzi cluster the resource is part of. This is typically the name of the custom resource.- See Also:
-
STRIMZI_COMPONENT_TYPE_LABEL
Type of the Strimzi component to which given resource belongs. E.g. Kafka or ZooKeeper. This label does not depend on the name of the cluster. This is useful to identify resources which belong to the same component but different clusters which is useful for example for scheduling (e.g. when you do not want this broker to be scheduled on a node where any other Kafka broker is running).- See Also:
-
STRIMZI_NAME_LABEL
Name of the component to which given resource belongs. This typically consists of the cluster name and component.- See Also:
-
-
Constructor Details
-
ResourceLabels
public ResourceLabels()
-