public class KafkaExporterResources extends Object
KafkaExporter instance.| Modifier and Type | Method and Description |
|---|---|
static String |
deploymentName(String kafkaClusterName)
Returns the name of the Kafka Exporter
Deployment. |
static String |
secretName(String clusterName)
Returns the name of the Kafka Exporter
Secret for a Kafka cluster of the given name. |
static String |
serviceAccountName(String kafkaClusterName)
Returns the name of the Kafka Exporter
ServiceAccount. |
static String |
serviceName(String kafkaClusterName)
Returns the name of the Prometheus
Service. |
public static String deploymentName(String kafkaClusterName)
Deployment.kafkaClusterName - The metadata.name of the Kafka resource.Deployment.public static String serviceAccountName(String kafkaClusterName)
ServiceAccount.kafkaClusterName - The metadata.name of the Kafka resource.ServiceAccount.public static String serviceName(String kafkaClusterName)
Service.kafkaClusterName - The metadata.name of the Kafka resource.Service.public static String secretName(String clusterName)
Secret for a Kafka cluster of the given name.
This Secret will only exist if Kafka.spec.kafkaExporter is configured in the
Kafka resource with the given name.clusterName - The metadata.name of the Kafka resource.Secret.Copyright © 2020. All rights reserved.