-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add-lm-in-operator * Update 3.2create-cluster-with-helm.md
- Loading branch information
1 parent
48806a1
commit fc8ac4b
Showing
2 changed files
with
13 additions
and
62 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 |
---|---|---|
|
@@ -11,11 +11,9 @@ | |
- [You have created StorageClass](https://kubernetes.io/docs/concepts/storage/storage-classes/) | ||
|
||
{{ ent.ent_begin }} | ||
- You have prepared the license file for NebulaGraph Enterprise Edition clusters. | ||
|
||
!!! enterpriseonly | ||
- [LM has been installed and the License Key has been successfully loaded](../../9.about-license/2.license-management-suite/3.license-manager.md) | ||
|
||
The license file is required only when creating a NebulaGraph Enterprise Edition cluster. | ||
{{ ent.ent_end }} | ||
## Create clusters | ||
|
||
|
@@ -63,36 +61,17 @@ The following example shows how to create a NebulaGraph cluster by creating a cl | |
|
||
| Parameter | Default value | Description | | ||
| :---- | :--- | :--- | | ||
| `spec.metad.license` | - | The configuration of the license for creating a NebulaGraph Enterprise Edition cluster. | | ||
| `spec.metad.licenseManagerURL` | - | Configure the URL that points to the LM, which consists of the access address and port number (default port `9119`) of the LM. For example, `192.168.8.100:9119`. **You must configure this parameter in order to obtain the license information; otherwise, the enterprise edition cluster cannot be used.** | | ||
|`spec.storaged.enableAutoBalance`| `false`| Specifies whether to enable automatic data balancing. For more information, see [Balance storage data after scaling out](../8.custom-cluster-configurations/8.3.balance-data-when-scaling-storage.md).| | ||
|`spec.enableBR`|`false`|Specifies whether to enable the BR tool. For more information, see [Backup and restore](../10.backup-restore-using-operator.md).| | ||
|
||
!!! enterpriseonly | ||
|
||
Make sure that you have access to NebulaGraph Enterprise Edition images before pulling the image. For details, contact our sales team ([[email protected]](mailto:[email protected])) | ||
|
||
|
||
2. Configure the license for the Enterprise Edition cluster. | ||
|
||
!!! enterpriseonly | ||
|
||
- This step is required only for creating a NebulaGraph Grpah Enterprise Edition cluster. | ||
|
||
- Ignore this step if you are creating a NebulaGraph Community Edition cluster. | ||
|
||
|
||
```bash | ||
kubectl create secret generic nebula-license --from-file=nebula.license | ||
``` | ||
|
||
To check the details of the license, run the following command: | ||
|
||
```bash | ||
kubectl get secrets nebula-license -o yaml | ||
``` | ||
{{ ent.ent_end }} | ||
|
||
3. Create a NebulaGraph cluster. | ||
2. Create a NebulaGraph cluster. | ||
|
||
```bash | ||
kubectl create -f apps_v1alpha1_nebulacluster.yaml | ||
|
@@ -104,7 +83,7 @@ The following example shows how to create a NebulaGraph cluster by creating a cl | |
nebulacluster.apps.nebula-graph.io/nebula created | ||
``` | ||
|
||
4. Check the status of the NebulaGraph cluster. | ||
3. Check the status of the NebulaGraph cluster. | ||
|
||
```bash | ||
kubectl get nebulaclusters.apps.nebula-graph.io nebula | ||
|
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