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

Redeployment does not scale down the old Replica set #81364

Open
karthicktechnodare opened this issue Aug 13, 2019 · 2 comments

Comments

@karthicktechnodare
Copy link

commented Aug 13, 2019

@kubernetes/sig-cloud-provider-bugs When we are trying to redeploy the same deployment which is already running, Deployment does not do the rolling update from old replicaset to new replicaset which means old and new replica sets are keep on running.

I have tried to set the revisionHistoryLimit to 1 but it also does not help. Everytime, I am trying to delete/scale down the old replicaset by kubectl delete replicaset/ -n or kubectl scale replicaset/ -n --replicas=0

@zq-david-wang

This comment has been minimized.

Copy link

commented Aug 14, 2019

Changing selector would cut the relationship between deployment and its old replicasets. Hope this can help

@athenabot

This comment has been minimized.

Copy link

commented Aug 15, 2019

/sig apps

These SIGs are my best guesses for this issue. Please comment /remove-sig <name> if I am incorrect about one.

🤖 I am a bot run by vllry. 👩‍🔬

@k8s-ci-robot k8s-ci-robot added sig/apps and removed needs-sig labels Aug 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.