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

Nexus nxrm-ha chart upgrade procedure requires for statefulset to completley be scaled down before upgrading #89

Open
Neophyte12345 opened this issue Jul 2, 2024 · 0 comments

Comments

@Neophyte12345
Copy link

We are seeing some issue with perhaps the Nexus chart itself in which we have an existing replica of 3 running while trying to perform an upgrade. The upgrade will start terminating one of the replicas but once it terminates one of them it starts spinning up the new pod with the latest version before the other 2 old pods have scaled down and then complains with following error:

 nxrm-app java.lang.IllegalStateException: unable to perform clustered deployment for node 918cbdc0-4908-4064-8da9-ac480d579eb3 , found inconsistencies :                                                        │
│ nxrm-app There are other Nexus Repository instance(s) that are currently running in this HA cluster with a different version. Please stop these instances. 

This is forcing us adding to our deploy job an extra kubectl scale --replicas 0 statefulset/nexus-nxrm-ha -n $NAMESPACE command and wait period to allow all old pods to scale down before it start the upgrade and scaling up the new pods. Are we missing some values setting for ha in which, if it is an upgrade, to allow proper scaling down before it commences with creating new pods?

Thanks.

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

No branches or pull requests

1 participant