-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Close code-block in GKE notes Signed-off-by: Paul "Hampy" Hampson <[email protected]> * Put the ASCII diagram in a code block Signed-off-by: Paul "Hampy" Hampson <[email protected]> * Fix markdown of Zookeeper YAML Exporter notes Signed-off-by: Paul "Hampy" Hampson <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -235,12 +235,13 @@ On GKE, the following command must be run before installing the operator, replac | |
|
||
``` | ||
$ kubectl create clusterrolebinding your-user-cluster-admin-binding --clusterrole=cluster-admin [email protected] | ||
``` | ||
|
||
#### Zookeeper YAML Exporter | ||
|
||
Zookeeper Exporter is a binary which is used to generate YAML file for all the secondary resources which Zookeeper Operator deploys to the Kubernetes Cluster. It takes ZookeeperCluster resource YAML file as input and generates bunch of secondary resources YAML files. The generated output look like the following: | ||
|
||
``` | ||
>tree ZookeeperCluster/ | ||
ZookeeperCluster/ | ||
├── client | ||
|
@@ -253,12 +254,14 @@ ZookeeperCluster/ | |
│ └── PodDisruptionBudget.yaml | ||
└── zk | ||
└── StatefulSet.yaml | ||
``` | ||
|
||
##### How to build Zookeeper Operator | ||
|
||
#How to build Zookeeper Operator | ||
When you build Operator, the Exporter is built along with it. | ||
make build-go - will build both Operator as well as Exporter. | ||
`make build-go` - will build both Operator as well as Exporter. | ||
|
||
##### How to use exporter | ||
|
||
#How to use exporter | ||
Just run zookeeper-exporter binary with -help option. It will guide you to input ZookeeperCluster YAML file. There are couple of more options to specify. | ||
Example: ./zookeeper-exporter -i ./ZookeeperCluster.yaml -o . | ||
Example: `./zookeeper-exporter -i ./ZookeeperCluster.yaml -o .` |