Skip to content

Commit

Permalink
optimize doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-sun-star committed Feb 7, 2024
1 parent 803eee9 commit 6d667e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ helm install ob-operator ob-operator/ob-operator --namespace=oceanbase-system --

The required configuration files are conveniently located within the `deploy/terraform` directory of our repository.

1. **Generate Configuration Variables:**
1. Generate Configuration Variables:
To begin, you'll need to generate a `terraform.tfvars` file, which will hold the configuration specifics of your Kubernetes cluster. Use the following commands to create this file.
```shell
cd deploy/terraform
./generate_k8s_cluster_tfvars.sh
```
Please follow any on-screen instructions to provide necessary details during the generation process.

2. **Initialize Terraform:**
2. Initialize Terraform:
This step will ensure that Terraform has all the necessary plugins and modules to manage the resources. Use the following command to initialize the terraform environment.
```
terraform init
```

3. **Apply Configuration:**
3. Apply Configuration:
The final step is to deploy ob-operator. Execute the following command and Terraform will begin the deployment process
```
terraform apply
Expand Down

0 comments on commit 6d667e0

Please sign in to comment.