X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Finstallation-rediscluster.rst;h=6c8fd75ac2e75b62307c85087026db6d3ae2554f;hb=8861ed3af438cebbdd276074c7bfe05cd30cd591;hp=e66635ebd7a0b067050f62b9a940bdc720c6f1f7;hpb=4e44288fd7a3c0e43dab91c45206a0c42ec695d9;p=ric-plt%2Fric-dep.git diff --git a/docs/installation-rediscluster.rst b/docs/installation-rediscluster.rst index e66635e..6c8fd75 100644 --- a/docs/installation-rediscluster.rst +++ b/docs/installation-rediscluster.rst @@ -1,25 +1,23 @@ -################################################################################### -# ============LICENSE_START======================================================= -# -# ================================================================================ -# Copyright (C) 2020 Hcl Technologies Limited. -# ================================================================================ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# ============LICENSE_END========================================================= -################################################################################### +.. ============LICENSE_START======================================================= +.. +.. ================================================================================ +.. Copyright (C) 2020 Hcl Technologies Limited. +.. ================================================================================ +.. Licensed under the Apache License, Version 2.0 (the "License"); +.. you may not use this file except in compliance with the License. +.. You may obtain a copy of the License at +.. +.. http://www.apache.org/licenses/LICENSE-2.0 +.. +.. Unless required by applicable law or agreed to in writing, software +.. distributed under the License is distributed on an "AS IS" BASIS, +.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +.. See the License for the specific language governing permissions and +.. limitations under the License. +.. ============LICENSE_END========================================================= Important -^^^^^^^^^^ +^^^^^^^^^ The redis-cluster currently is NOT part of RIC platform & hence is completely optional. This piece of document has been created as part of delivery item for below jira ticket https://jira.o-ran-sc.org/browse/RIC-109 @@ -27,22 +25,21 @@ This ticket is about assessing the feasibility of redis-cluster (with data shard supporting desired pod anti-affinity for high availability as per the ticket. Overview -^^^^^^^^^^ +^^^^^^^^ This document describes the environment/conditions used to test the feasibility of Redis cluster set-up as detailed in the above ticket. Redis Cluster is a distributed implementation of Redis with high performance goals. More details at https://redis.io/topics/cluster-spec Environment Set-Up -^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^ The set up was tested with kubernetes v1.19 cluster with #. Pod topology spread constraint enabled Reference: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints #. CEPH as the Cluster Storage Solution. - Reference: https://github.com/rook/rook.github.io/blob/master/docs/rook/v1.4/ceph-filesystem.md #. Three worker nodes in the kubernet cluster Execution -^^^^^^^^^^ +^^^^^^^^^ Once environment is set-up, a redis-cluster can be set up using the helm-chart (also provided with this commit). Once cluster is running, any master/slave of the redis instance pods can be deleted which will be compensated automatically by new instances