From f1ae95a8b20f11b5c8f003c814402de00ae53bf8 Mon Sep 17 00:00:00 2001 From: Yuval Levy Date: Wed, 19 Jan 2022 17:16:50 +0200 Subject: [PATCH] Delete google_private_cloud directory --- google_private_cloud/README.md | 100 ------------------ .../bundle/kustomization.yaml | 4 - google_private_cloud/rec/kustomization.yaml | 4 - google_private_cloud/rec/kustomize_rec.yaml | 17 --- google_private_cloud/rec/rec.yaml | 7 -- 5 files changed, 132 deletions(-) delete mode 100644 google_private_cloud/README.md delete mode 100644 google_private_cloud/bundle/kustomization.yaml delete mode 100644 google_private_cloud/rec/kustomization.yaml delete mode 100644 google_private_cloud/rec/kustomize_rec.yaml delete mode 100644 google_private_cloud/rec/rec.yaml diff --git a/google_private_cloud/README.md b/google_private_cloud/README.md deleted file mode 100644 index 65671b0..0000000 --- a/google_private_cloud/README.md +++ /dev/null @@ -1,100 +0,0 @@ - -# Deploying Redis Enterprise on Google Private Cloud - -This page describes how to deploy Redis Enterprise on Google Private Cloud Kubernetes solution using the Redis Enterprise Operator. - -### Prerequisites - -- A Kubernetes cluster version of 1.20 or higher, with a minimum of 3 worker nodes. -- A Kubernetes client (kubectl) with a matching version. -- Access to DockerHub, Harbor or a private repository that can serve the required images. - - - -The following are the images and tags for this release: - -| Component | k8s | -| --- | --- | -| Redis Enterprise | `redislabs/redis:6.2.8-64` | -| Operator | `redislabs/operator:6.2.8-15` | -| Services Rigger | `redislabs/k8s-controller:6.2.8-15` | - - -### Installation -The "Basic" installation deploys the operator (from the current release) from DockerHub and default settings. -This is the fastest way to get up and running with a new Redis Enterprise on Kubernetes. - -1. We will need to clone the yamls from [github](https://github.com/RedisLabs/redis-enterprise-k8s-docs/releases) to your local directory. - -2. Create a new namespace: - > Note: - For the purpose of this doc, we'll use the name "demo" for our cluster's namespace. - - ```bash - kubectl create namespace demo - ``` - - Switch context to the newly created namespace: - - ```bash - kubectl config set-context --current --namespace=demo - ``` -*** -For deploying the bundle and the Redis Enterprise Cluster custom resource we will use the [Kustomize](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/). -3. Customize the operator deployment - - - Before deploying the bundle.yaml we will need to customize it . - edit the `bundle\kustomize_bundle.yaml` file : - > Note: - Replace the [User Private repo] with your private images repository location. - -4. Deploy the operator bundle - - with `kubectl`, the following command will deploy a bundle of all the yaml declarations required for the operator: - - ```bash - kubectl apply -k bundle - ``` - - Run `kubectl get deployment` and verify redis-enterprise-operator deployment is running. - - A typical response may look like this: - - ```bash - NAME READY UP-TO-DATE AVAILABLE AGE - redis-enterprise-operator 1/1 1 1 2m - ``` - -5. Customize the Redis Enterprise Cluster custom resource - - - Before deploying the rec.yaml we will need to customize it . - edit the `rec\kustomize_rec.yaml` file : - > Note: - Replace the [User Private repo] with your private images repository location. - - The kustomize_rec.yaml configure the Redis Enterprise Cluster custom resource with the default configuration, - which is suitable for development type deployments and works in typical scenarios. - The full list of attributes supported through the Redis Enterprise Cluster (REC) API can be found [HERE](redis_enterprise_cluster_api.md). - - -6. Redis Enterprise Cluster custom resource - `RedisEnterpriseCluster` - - Create a `RedisEnterpriseCluster`(REC) using the kustomize capability, - - ```bash - kubectl apply -k rec - ``` - - > Note: - The Operator can only manage one Redis Enterprise Cluster custom resource in a namespace. To deploy another Enterprise Clusters in the same Kubernetes cluster, deploy an Operator in an additional namespace for each additional Enterprise Cluster required. Note that each Enterprise Cluster can effectively host hundreds of Redis Database instances. Deploying multiple clusters is typically used for scenarios where complete operational isolation is required at the cluster level. - -7. Run ```kubectl get rec``` and verify creation was successful. `rec` is a shortcut for RedisEnterpriseCluster. The cluster takes around 5-10 minutes to come up. - A typical response may look like this: - ``` - NAME AGE - rec 5m - ``` - > Note: Once the cluster is up, the cluster GUI and API could be used to configure databases. It is recommended to use the K8s REDB API that is configured through the following steps. To configure the cluster using the cluster GUI/API, use the ui service created by the operator and the default credentials as set in a secret. The secret name is the same as the cluster name within the namespace. - - -*** For advanced configuration and more info you can visit our formal documentation [here](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/README.md). \ No newline at end of file diff --git a/google_private_cloud/bundle/kustomization.yaml b/google_private_cloud/bundle/kustomization.yaml deleted file mode 100644 index d0304c1..0000000 --- a/google_private_cloud/bundle/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -resources: -- bundle.yaml -patchesStrategicMerge: -- kustomize_bundle.yaml \ No newline at end of file diff --git a/google_private_cloud/rec/kustomization.yaml b/google_private_cloud/rec/kustomization.yaml deleted file mode 100644 index 619df3f..0000000 --- a/google_private_cloud/rec/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -resources: -- rec.yaml -patchesStrategicMerge: -- kustomize_rec.yaml \ No newline at end of file diff --git a/google_private_cloud/rec/kustomize_rec.yaml b/google_private_cloud/rec/kustomize_rec.yaml deleted file mode 100644 index 88a7b6d..0000000 --- a/google_private_cloud/rec/kustomize_rec.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: app.redislabs.com/v1alpha1 -kind: RedisEnterpriseCluster -metadata: - name: rec -spec: - persistentSpec: - storageClassName: standard - volumeSize: 20Gi - redisEnterpriseImageSpec: - repository: [User redis Private repo] - versionTag: 6.2.8-64 - redisEnterpriseServicesRiggerImageSpec: - repository: [User service rigger Private repo] - versionTag: 6.2.8-15 - bootstrapperImageSpec: - repository: [User operator Private repo] - versionTag: 6.2.8-15 \ No newline at end of file diff --git a/google_private_cloud/rec/rec.yaml b/google_private_cloud/rec/rec.yaml deleted file mode 100644 index 2480955..0000000 --- a/google_private_cloud/rec/rec.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: app.redislabs.com/v1 -kind: RedisEnterpriseCluster -metadata: - name: rec -spec: - # Add fields here - nodes: 3