본문 바로가기

Cloud

(Redis Operator) - 설치방법

반응형

🍳머리말

OT-Container-Kit의 Redis Operator 설치방법입니다.


📕참조

📔 redos operator docs


📕Prerequisites

📔 k8s(v1.11+) cluster


📕설치

📔 helm으로 설치가 안되는 issue

https://github.com/OT-CONTAINER-KIT/helm-charts/issues/17

 

📔 참조의 최하단에서 manifest file을 직접 apply하는 방법 사용

kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/crd/bases/redis.redis.opstreelabs.in_redis.yaml

kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/crd/bases/redis.redis.opstreelabs.in_redisclusters.yaml

kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/rbac/serviceaccount.yaml

kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/rbac/role.yaml

kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/rbac/role_binding.yaml

kubectl apply -f https://raw.githubusercontent.com/OT-CONTAINER-KIT/redis-operator/master/config/manager/manager.yaml

📔 확인

kubectl get namespace