Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis-operator per namespace or one for whole cluster? #78

Closed
kamilpi opened this issue Aug 30, 2018 · 9 comments
Closed

Redis-operator per namespace or one for whole cluster? #78

kamilpi opened this issue Aug 30, 2018 · 9 comments
Assignees

Comments

@kamilpi
Copy link

kamilpi commented Aug 30, 2018

I would like to deploy redisoperator and RedisFailover per namespace. How can I do this? For now each redisoperator trying to manage all RedisFailover.

@jchanam
Copy link
Collaborator

jchanam commented Aug 30, 2018

Hi @normander,

Exactly, the operator manages every RedisFailover created on the cluster.

Why would you need to have one operator per namespace?

@jchanam jchanam self-assigned this Aug 30, 2018
@str1k3r
Copy link

str1k3r commented Aug 30, 2018

actually, I have the same request. I'm having 2 separate environments in the same clusters
dev-* and prod-*
so, would be nice to have (if possible) completely separated instances of all redis components.

@ese
Copy link
Member

ese commented Aug 30, 2018

@str1k3r @normander currently it is not possible run isolated instances of redis-operator controller in the same cluster.

@ese ese added enhancement and removed question labels Aug 30, 2018
@rhefner1
Copy link
Contributor

Like @str1k3r said, it would be best to roll out new versions of operator to the staging environment (which is just a separate namespace in our cluster) to see if they work as expected and then roll them out to prod.

It also could limit the impact of this issue: #89

@str1k3r
Copy link

str1k3r commented Oct 16, 2018

very useful case. thanks @rhefner1

@kamilpi
Copy link
Author

kamilpi commented Feb 13, 2019

@jchanam How can I delete only redis cluster(statefulset and deployment) per namespace? Right now when I'm doing this, redis-operator recreate statefulset and deployment.

@jchanam
Copy link
Collaborator

jchanam commented Feb 13, 2019

If you want to delete a deployed RedisFailover, you just have to delete that custom resource:

kubectl -n <namespace> delete redisfailover <rf-name>

The redis operator is always checking the redis failovers deployed are alive and available. That's why, if you delete the statefulsets or the deployments, they appear again.

@github-actions
Copy link

This issue is stale because it has been open for 45 days with no activity.

@github-actions github-actions bot added the stale label Jan 14, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants