diff --git a/marketplace/gcp/tidb-operator/README.md b/marketplace/gcp/tidb-operator/README.md index 42e6f52381..e64894a1ec 100644 --- a/marketplace/gcp/tidb-operator/README.md +++ b/marketplace/gcp/tidb-operator/README.md @@ -1,3 +1,21 @@ +# GKE service account + +If you install on GKE, please select the option to create a new service account. +The default service account may not have the required permissions. + +# Deletion + +In the below, tidb is installed into the namespace "tidb". +Deleting the application will not delete the pods. You should delete the namespace and then delete the persistent volumes. + +``` +kubectl delete namespace tidb +kubectl get pv -l app.kubernetes.io/namespace=$NAMESPACE -o name | xargs -I {} kubectl patch {} -p '{"spec":{"persistentVolumeReclaimPolicy":"Delete"}}' +``` + + +# Manual installation + First you can modify configuration values. * schema.yaml: don't modify this, use parameters to override it as shown below @@ -24,7 +42,7 @@ NAMESPACE=tidb # We strongly recommend deploying into a new namespace kubectl create namespace $NAMESPACE -REGISTRY=$REGISTRY NAMESPACE=$NAMESPACE ./scripts/install +REGISTRY=$REGISTRY NAMESPACE=$NAMESPACE VERSION=$VERSION ./scripts/install ``` You can watch the deployment come up with diff --git a/marketplace/gcp/tidb-operator/manifests/app-crd.yaml b/marketplace/gcp/tidb-operator/manifests/app-crd.yaml index 6983f49d6e..0b14d4d41e 100644 --- a/marketplace/gcp/tidb-operator/manifests/app-crd.yaml +++ b/marketplace/gcp/tidb-operator/manifests/app-crd.yaml @@ -131,8 +131,3 @@ spec: type: object type: object version: v1beta1 -status: - acceptedNames: - kind: "" - plural: "" - conditions: null