Automate initialize (#138)
- no need to do "--set initialize=true" anymore
This commit is contained in:
parent
706c8c292b
commit
25e997a425
10
README.md
10
README.md
@ -94,11 +94,8 @@ helm repo add apache https://pulsar.apache.org/charts
|
||||
|
||||
To use the helm chart:
|
||||
|
||||
> NOTE: Please specify `--set initialize=true` when installing a release at the first time. `initialize=true` will start initialize jobs
|
||||
> to initialize the cluster metadata for both bookkeeper and pulsar clusters.
|
||||
|
||||
```bash
|
||||
helm install --set initialize=true <release-name> apache/pulsar
|
||||
helm install <release-name> apache/pulsar
|
||||
```
|
||||
|
||||
## Kubernetes cluster preparation
|
||||
@ -133,13 +130,10 @@ We provide some instructions to guide you through the preparation: http://pulsar
|
||||
|
||||
3. Use the Pulsar Helm charts to install Apache Pulsar.
|
||||
|
||||
> NOTE: Please specify `--set initialize=true` when installing a release at the first time. `initialize=true` will start initialize jobs
|
||||
> to initialize the cluster metadata for both bookkeeper and pulsar clusters.
|
||||
|
||||
This command installs and starts Apache Pulsar.
|
||||
|
||||
```bash
|
||||
$ helm install --set initialize=true <pulsar-release-name> apache/pulsar
|
||||
$ helm install <pulsar-release-name> apache/pulsar
|
||||
```
|
||||
|
||||
5. Access the Pulsar cluster
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
{{- if .Values.initialize }}
|
||||
{{- if or .Release.IsInstall .Values.initialize }}
|
||||
{{- if .Values.components.bookkeeper }}
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
{{- if .Values.initialize }}
|
||||
{{- if or .Release.IsInstall .Values.initialize }}
|
||||
{{- if .Values.components.broker }}
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user