Discovery
The Stackable Operator for Apache HBase publishes a discovery ConfigMap, which exposes a client configuration bundle that allows access to the Apache HBase cluster.
Example
Given the following HBase cluster:
apiVersion: hbase.stackable.tech/v1alpha1
kind: HbaseCluster
metadata:
name: {cluster-name} (1)
namespace: {namespace} (2)
spec:
clusterConfig:
hdfsConfigMapName: {hdfs-cluster-name} (3)
zookeeperConfigMapName: {zookeeper-znode-name} (4)
1 | The name of the HBase cluster, which is also the name of the created discovery ConfigMap. |
2 | The namespace of the discovery ConfigMap. |
3 | The ConfigMap name to discover the HDFS cluster. |
4 | The ConfigMap name to discover the ZooKeeper cluster. |
The resulting discovery ConfigMap is located at {namespace}/{cluster-name}
.