-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Update redis-master-controller ReplicationController to Deployment (modern Kubernetes API) #583
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
Update redis-master-controller ReplicationController to Deployment (modern Kubernetes API) #583
Conversation
|
|
|
Welcome @sorcerer-ares! |
soltysh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: soltysh, sorcerer-ares The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…icationController with Deployment
…icationController with Deployment
This PR modernizes the Redis master controller example by replacing the deprecated ReplicationController with Deployment. Deployments provide better control, rolling updates and self healing for pods.
Changes Made:
Updated "kind" and "apiVersion"
Added selector.matchLabels as required by Deployment
Verified locally on kind cluster — Deployment and Pod created successfully.