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-repository-manager] Add StatefulSet #237

Closed
jgournet opened this issue Sep 25, 2022 · 1 comment
Closed

[nexus-repository-manager] Add StatefulSet #237

jgournet opened this issue Sep 25, 2022 · 1 comment

Comments

@jgournet
Copy link

Background

We use the free version of Nexus on EKS, with DB stored in EFS.
The free version has a lock file preventing Nexus from running on 2 pods.

Issue is: when a node dies and it is handled "properly" (=with node termination handler), a new pod gets created but fails to start because of lock file => this prevents node termination handler from completing its work.

Solution

we need a "at most 1 pod", which is provided by Statefulsets.

References

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment

@jgournet
Copy link
Author

jgournet commented Oct 2, 2022

Created sonatype/nxrm3-helm-repository#27 instead

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