Class ResourceLabels

java.lang.Object
io.strimzi.api.ResourceLabels

public class ResourceLabels extends Object
An immutable set of labels
  • Field Details

    • STRIMZI_DOMAIN

      public static final String STRIMZI_DOMAIN
      Strimzi domain used for the Strimzi labels
      See Also:
    • STRIMZI_KIND_LABEL

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String 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()