Installing Redis Operator (Kubectl)

If you are a beginner with Kubernetes and don't want to go in the complexity of Helm, you can use the beloved tool of Kubernetes client likekubectl.

Create the CRD in Kubernetes cluster

kubectl apply -f deploy/crds/redis.opstreelabs.in_redis_crd.yaml

Configure RBAC for Operator

kubectl apply -f deploy/role.yaml
kubectl apply -f deploy/service_account.yaml
kubectl apply -f deploy/role_binding.yaml

Deploy Operator in Cluster

kubectl apply -f deploy/operator.yaml