@@ -178,7 +178,7 @@ Before installing the kubectl-tg plugin, make sure you meet the following requir
178178> If you are using Windows, please run the commands in a WSL environment.
179179> Please refer to [ Windows Subsystem for Linux Documentation] ( https://learn.microsoft.com/en-us/windows/wsl/ ) for more information.
180180
181- Here's an example of installing the latest kubectl-tg, you can change the latest to your desired version, such as 1.6.0 :
181+ Here's an example of installing the latest kubectl-tg, you can change the latest to your desired version, such as 1.7.1 :
182182
183183``` bash
184184wget https://dl.tigergraph.com/k8s/latest/kubectl-tg -O kubectl-tg
@@ -204,7 +204,7 @@ This step is optional and can be skipped if you have privileged permissions in y
204204CustomResourceDefinitions (CRDs) are non-namespaced entities accessible across all namespaces. Installing CRDs requires privileged permissions from the Kubernetes cluster. If you prefer to install CRDs independently from the Operator installation, use the following commands:
205205
206206``` bash
207- kubectl apply -f https://dl.tigergraph.com/k8s/latest/tg-operator-crd.yaml
207+ kubectl apply --server-side - f https://dl.tigergraph.com/k8s/latest/tg-operator-crd.yaml
208208```
209209
210210### Install TigerGraph Operator
@@ -245,7 +245,7 @@ Examples:
245245 # install the operator in the specified namespace, with specified helm repo and image pull secret
246246 kubectl tg init --namespace tg-tenant1 --helm-repo https://yourhelmrepo.com --image-pull-secret yoursecret
247247 # install the operator in the specified namespace, with specified operator version, watch name namespace, cpu and memory
248- kubectl tg init --version OPERATOR_VERSION --operator-size 3 --operator-watch-namespace tigergraph --operator-cpu 1000m --operator-memory 1024Mi --namespace tg-tenant1
248+ kubectl tg init --operator- version OPERATOR_VERSION --operator-size 3 --operator-watch-namespace tigergraph --operator-cpu 1000m --operator-memory 1024Mi --namespace tg-tenant1
249249
250250Usage:
251251 kubectl tg init [options]
@@ -377,7 +377,7 @@ You must also provide your license key with the `--license` command. Contact Tig
377377- Create TigerGraph cluster with kubectl-tg plugin
378378
379379 ` ` ` bash
380- kubectl tg create --cluster-name ${YOUR_CLUSTER_NAME} --private-key-secret ${YOUR_SSH_KEY_SECRET_NAME} --size 4 --ha 2 --version 4.2.1 --license ${LICENSE} \
380+ kubectl tg create --cluster-name ${YOUR_CLUSTER_NAME} --private-key-secret ${YOUR_SSH_KEY_SECRET_NAME} --size 4 --ha 2 --version 4.2.2 --license ${LICENSE} \
381381 --storage-class standard --storage-size 10G --cpu 2000m --memory 6Gi --namespace ${YOUR_NAMESPACE}
382382 ` ` `
383383
@@ -399,7 +399,7 @@ You must also provide your license key with the `--license` command. Contact Tig
399399> ` ` `
400400> Then, when creating the TigerGraph cluster, use the ` --license-secret` option to set the license:
401401> ` ` ` bash
402- > kubectl tg create --cluster-name ${YOUR_CLUSTER_NAME} --private-key-secret ${YOUR_SSH_KEY_SECRET_NAME} --size 4 --ha 2 --version 4.2.1 \
402+ > kubectl tg create --cluster-name ${YOUR_CLUSTER_NAME} --private-key-secret ${YOUR_SSH_KEY_SECRET_NAME} --size 4 --ha 2 --version 4.2.2 \
403403> --license-secret ${YOUR_CLUSTER_NAME} -license --storage-class standard --storage-size 10G --cpu 2000m --memory 6Gi --namespace ${YOUR_NAMESPACE}
404404> ` ` `
405405
@@ -567,10 +567,10 @@ kubectl tg update --cluster-name ${YOUR_CLUSTER_NAME} --ha ${NEW_HA} --namespace
567567
568568Upgrading a TigerGraph cluster is supported from a lower version to a higher version.
569569
570- Assuming the current version of the cluster is 4.1.3, you can upgrade it to version 4.2.1 with the following command:
570+ Assuming the current version of the cluster is 4.1.3, you can upgrade it to version 4.2.2 with the following command:
571571
572572` ` ` bash
573- kubectl tg update --cluster-name ${YOUR_CLUSTER_NAME} --version 4.2.1 --namespace ${YOUR_NAMESPACE}
573+ kubectl tg update --cluster-name ${YOUR_CLUSTER_NAME} --version 4.2.2 --namespace ${YOUR_NAMESPACE}
574574` ` `
575575
576576To ensure the successful upgrade of the TigerGraph cluster, use these commands:
0 commit comments