You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.4.10-8
* Many many many changes to merge the old docs repo with the new auto-generated one.
* Update to reflect support for K8s 1.9 and above
Co-authored-by: Amiram Mizne <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+101-108
Original file line number
Diff line number
Diff line change
@@ -1,153 +1,146 @@
1
+
<!-- omit in toc -->
2
+
# Deploying Redis Enterprise K8s using an operator (custom controller)
1
3
2
-
3
-
### Deploying Redis Enterprise K8s using an operator (custom controller)
4
-
### Table of Contents
5
-
6
-
4
+
*[Documentation](#documentation)
5
+
*[Quickstart Guide](#quickstart-guide)
7
6
*[Prerequisites](#prerequisites)
8
-
*[Deployment](#deployment)
7
+
*[Basic installation](#basic-installation)
8
+
*[OpenShift](#openshift)
9
9
*[Configuration Options](#configuration)
10
10
*[Private Repositories](#private-repositories)
11
11
*[Pull Secrets](#pull-secrets)
12
12
*[IPV4 enforcement](#ipv4-enforcement)
13
13
14
+
>Note: Please see the release notes for what's new in the latest release.
14
15
15
-
#### Prerequisites:
16
-
* A minimum of 3 nodes which support the following [requirements][]
17
-
* A kubernetes version of 1.8 or higher
18
-
* For service broker - a k8s distribution that supports service catalog (see also: [service-catalog][])
19
-
* Access to DockerHub, RedHat Container Catalog or a private repository that can serve the required images
20
-
> Note: For RHEL based images and/or deployments on OpenShift, please use redis-enterprise-cluster_rhel.yaml and operator_rhel.yaml.
21
-
For Service Broker, please see examples/with_service_broker_rhel.yaml. RedHat certified images are available on: https://access.redhat.com/containers/#/product/71f6d1bb3408bd0d
22
-
23
-
The following are the images and tags for this release:
24
-
25
-
Redis Enterprise - `redislabs/redis:5.4.6-18` or `redislabs/redis:5.4.6-18.rhel7-openshift`
26
-
27
-
Operator - `redislabs/operator:5.4.6-1186` or `redislabs/operator:5.4.6-1186b.rhel7`
16
+
## Additional Documentation
28
17
29
-
Services Rigger - `redislabs/k8s-controller:5.4.6-1186` or `redislabs/k8s-controller:5.4.6-1186b.rhel7`
For Service Broker, please see examples/with_service_broker_rhel.yaml. RedHat certified images are available on: https://access.redhat.com/containers/#/product/71f6d1bb3408bd0d
42
32
43
-
For non-OpenShift deployments, create a new namespace:
33
+
The following are the images and tags for this release:
44
34
45
-
```
46
-
kubectl create namespace demo
47
-
```
35
+
Redis Enterprise - `redislabs/redis:5.4.10-22` or `redislabs/redis:5.4.6-22b.rhel7-openshift`
48
36
49
-
For OpenShift deployments, create a new project (you can substitute `oc` for `kubectl` in the rest of these instructions):
37
+
Operator - `redislabs/operator:5.4.10-8` or `redislabs/operator:5.4.6-8.rhel7`
50
38
51
-
```
52
-
oc new-project my-project
53
-
```
39
+
Services Rigger - `redislabs/k8s-controller:5.4.10-8` or `redislabs/k8s-controller:5.4.10-8b.rhel7`
54
40
55
-
> For either deployment, switch context to operate within the newly created namespace:
Service Broker - `redislabs/service-broker:78_4b9b17f` or `redislabs/service-broker:78_4b9b17f.rhel7`
59
42
60
-
2) If you are not running OpenShift, skip to the next step. For OpenShift, perform the following commands (you need admin permissions for your cluster):
43
+
## Basic installation
44
+
The "Basic" installations deploys the operator from the current release with the default Ubuntu/Alpine base OS images from DockerHub and default settings.
45
+
This is the fastest way to get up and running with a new cluster in most environments.
46
+
Other Kubernetes distributions setup process as well as other custom configurations are referenced in this repository.
2. To deploy the default installation with `kubectl`, the following command will deploy a bundle of all the yaml declarations required for the operator:
4) The next step applies rbac.yaml, creating a service account, role, and role-binding to allow resources access control (provides permissions to create and manage resources):
89
+
4. Create A Redis Enterprise Cluster using the default configuration, which is suitable for development type deployments and works in typical scenarios. For more advanced deployment options you may choose the configuration relevant for you - see the index at the top for documentation references that cover many scenarios and the examples in the example folder.
8) Create A Redis Enterprise Cluster. Choose the configuration relevant for you (see next section). There are additional examples in the examples folder. Note that you need to specify an image tag if you'd like to pull a RHEL image.
133
+
4. Deploy the OpenShift operator bundle:
144
134
145
-
```
146
-
kubectl apply -f redis-enterprise-cluster.yaml
147
-
```
135
+
```bash
136
+
kubectl apply -f openshift.bundle.yaml
137
+
```
148
138
149
-
9) Run ```kubectl get rec``` and verify creation was successful. "rec" is a shortcut for RedisEnterpriseClusters.
139
+
Apply the `RedisEnterpriseCluster` resource with RHEL7 based images
0 commit comments