Skip to content

Commit

Permalink
Merge pull request RedisLabs#148 from RedisLabs/6.0.8-20
Browse files Browse the repository at this point in the history
promote 6.0.8-20
  • Loading branch information
yuvallevy2 authored Dec 10, 2020
2 parents dfd7965 + b7973cd commit 0c5c1c1
Show file tree
Hide file tree
Showing 20 changed files with 8,446 additions and 100 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ This page describe how to deploy Redis Enterprise on Kubernetes using the Redis
The following are the images and tags for this release:
| Component | k8s | Openshift |
| --- | --- | --- |
| Redis Enterprise | `redislabs/redis:6.0.8-28` | `redislabs/redis:6.0.8-28.rhel7-openshift` |
| Operator | `redislabs/operator:6.0.8-1` | `redislabs/operator:6.0.8-1` |
| Services Rigger | `redislabs/k8s-controller:6.0.8-1` | `redislabs/k8s-controller:6.0.8-1` |
| Redis Enterprise | `redislabs/redis:6.0.8-30` | `redislabs/redis:6.0.8-30.rhel7-openshift` |
| Operator | `redislabs/operator:6.0.8-20` | `redislabs/operator:6.0.8-20` |
| Services Rigger | `redislabs/k8s-controller:6.0.8-20` | `redislabs/k8s-controller:6.0.8-20` |
> * RedHat certified images are available on [Redhat Catalog](https://access.redhat.com/containers/#/product/71f6d1bb3408bd0d) </br>

Expand Down Expand Up @@ -213,7 +213,7 @@ The operator deploys a `RedisEnterpriseCluster` with default configurations valu
redisEnterpriseImageSpec:
imagePullPolicy: IfNotPresent
repository: redislabs/redis
versionTag: 6.0.8-28
versionTag: 6.0.8-30
```
* Persistence
Expand Down Expand Up @@ -252,7 +252,7 @@ The operator deploys a `RedisEnterpriseCluster` with default configurations valu
uiServiceType: LoadBalancer
```
* Database service type (optional): Service types for access to databases. Should be a comma separated list. The possible values are cluster_ip, headless, and load_balancer. Default value is `cluster_ip,headless`. For example, to create on load_balancer type database services, explicitly add the following declaration to the Redis Enterprise Cluster spec:
* Database service type (optional): Service types for access to databases. Should be a comma separated list. The possible values are cluster_ip, headless, and load_balancer. Default value is `cluster_ip,headless`. For example, to create a load_balancer type database service, explicitly add the following declaration to the Redis Enterprise Cluster spec:
```yaml
servicesRiggerSpec:
databaseServiceType: load_balancer
Expand Down Expand Up @@ -315,21 +315,21 @@ For example:
redisEnterpriseImageSpec:
imagePullPolicy: IfNotPresent
repository: harbor.corp.local/redisenterprise/redis
versionTag: 6.0.8-28
versionTag: 6.0.8-30
```
```yaml
redisEnterpriseServicesRiggerImageSpec:
imagePullPolicy: IfNotPresent
repository: harbor.corp.local/redisenterprise/k8s-controller
versionTag: 6.0.8-1
versionTag: 6.0.8-20
```
```yaml
bootstrapperImageSpec:
imagePullPolicy: IfNotPresent
repository: harbor.corp.local/redisenterprise/operator
versionTag: 6.0.8-1
versionTag: 6.0.8-20
```
In Operator Deployment spec (operator.yaml):
Expand All @@ -341,7 +341,7 @@ spec:
spec:
containers:
- name: redis-enterprise-operator
image: harbor.corp.local/redisenterprise/operator:6.0.8-1
image: harbor.corp.local/redisenterprise/operator:6.0.8-20
```
Image specification follow the [K8s Container schema](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.10/#container-v1-core).
Expand Down Expand Up @@ -392,7 +392,7 @@ spec:
The Operator automates and simplifies the upgrade process.
The Redis Enterprise Cluster Software, and the Redis Enterprise Operator for Kubernetes versions are tightly coupled and should be upgraded together.
It is recommended to use the bundle.yaml to upgrade, as it loads all the relevant CRD documents for this version. If the updated CRDs are not loaded, the operator might fail.
There are two ways to upgrade - either set 'autoUpgradeRedisEnterprise' within the Redis Enterprise Cluster Spec to instruct the operator to automatically upgrade to the compatible version, or specify the correct Redis Enterprise image manually using the versionTag attribute. The Redis Enterprise Version compatible with this release is 6.0.8-28
There are two ways to upgrade - either set 'autoUpgradeRedisEnterprise' within the Redis Enterprise Cluster Spec to instruct the operator to automatically upgrade to the compatible version, or specify the correct Redis Enterprise image manually using the versionTag attribute. The Redis Enterprise Version compatible with this release is 6.0.8-30
```yaml
autoUpgradeRedisEnterprise: true
Expand All @@ -401,23 +401,23 @@ There are two ways to upgrade - either set 'autoUpgradeRedisEnterprise' within t
Alternatively:
```yaml
RedisEnterpriseImageSpec:
versionTag: redislabs/redis:6.0.8-28
versionTag: redislabs/redis:6.0.8-30
```
## Supported K8S Distributions
Each release of the Redis Enterprise Operator deployment is thoroughly tested against a set of Kubernetes distributions. The table below lists these, along with the current release's support status. "Supported", as well as "deprecated" support status indicates the current release has been tested in this environment and supported by RedisLabs. "Deprecated" also indicates that support will be dropped in a coming future release. "No longer supported" indicates that support has been dropped for this distribution. Any distribution that isn't explicitly listed is not supported for production workloads by RedisLabs.
| Distribution | Support Status |
|-------------------|---------------------|
| Openshift 3.11 | supported |
| Openshift 3.11 | supported |
| Openshift 4.1 | supported |
| Openshift 4.2 | supported |
| Openshift 4.3 | supported |
| Openshift 4.4 | supported |
| OpenShift 4.5 | supported |
| KOPS vanilla 1.9 | no longer supported |
| KOPS vanilla 1.10 | no longer supported |
| KOPS vanilla 1.11 | no longer supported |
| KOPS vanilla 1.12 | no longer supported |
| KOPS vanilla 1.11 | no longer supported |
| KOPS vanilla 1.12 | no longer supported |
| KOPS vanilla 1.13 | supported |
| KOPS vanilla 1.14 | supported |
| KOPS vanilla 1.15 | supported |
Expand Down
8 changes: 4 additions & 4 deletions admission.bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
serviceAccountName: redis-enterprise-admission
containers:
- name: admin
image: redislabs/operator:6.0.8-1
image: redislabs/operator:6.0.8-20
command:
- /usr/local/bin/admission
imagePullPolicy: Always
Expand All @@ -70,10 +70,10 @@ spec:
fieldPath: metadata.namespace
resources:
limits:
cpu: 100m
cpu: 1000m
memory: 512Mi
requests:
cpu: 25m
cpu: 250m
memory: 256Mi
readinessProbe:
failureThreshold: 3
Expand All @@ -86,7 +86,7 @@ spec:
scheme: HTTPS
initContainers:
- name: admin-init
image: redislabs/operator:6.0.8-1
image: redislabs/operator:6.0.8-20
command:
- /usr/local/bin/admission
args:
Expand Down
6 changes: 4 additions & 2 deletions admission/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,14 @@ $ kubectl apply -f - << EOF
apiVersion: app.redislabs.com/v1alpha1
kind: RedisEnterpriseDatabase
metadata:
name: test-database-custom-resource
name: redis-enterprise-database
spec:
evictionPolicy: illegal
EOF
```

This must fail with an error output by the admission webhook redb.admisison.redislabs that is being denied because it can't get the login credentials for the Redis Enterprise Cluster as none were specified.
```shell script
Error from server: error when creating "STDIN": admission webhook "redb.admission.redislabs" denied the request: createRECClient: GetLoginInfo: resource name may not be empty
Error from server: error when creating "STDIN": admission webhook "redb.admission.redislabs" denied the request: eviction_policy: u'illegal' is not one of [u'volatile-lru', u'volatile-ttl', u'volatile-random', u'allkeys-lru', u'allkeys-random', u'noeviction', u'volatile-lfu', u'allkeys-lfu']
```
8 changes: 4 additions & 4 deletions admission/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
serviceAccountName: redis-enterprise-admission
containers:
- name: admin
image: redislabs/operator:6.0.8-1
image: redislabs/operator:6.0.8-20
command:
- /usr/local/bin/admission
imagePullPolicy: Always
Expand All @@ -27,10 +27,10 @@ spec:
fieldPath: metadata.namespace
resources:
limits:
cpu: 100m
cpu: 1000m
memory: 512Mi
requests:
cpu: 25m
cpu: 250m
memory: 256Mi
readinessProbe:
failureThreshold: 3
Expand All @@ -43,7 +43,7 @@ spec:
scheme: HTTPS
initContainers:
- name: admin-init
image: redislabs/operator:6.0.8-1
image: redislabs/operator:6.0.8-20
command:
- /usr/local/bin/admission
args:
Expand Down
Loading

0 comments on commit 0c5c1c1

Please sign in to comment.