Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

[nexus-repository-manager] Add StatefulSet #27

Open
jgournet opened this issue Oct 2, 2022 · 0 comments
Open

[nexus-repository-manager] Add StatefulSet #27

jgournet opened this issue Oct 2, 2022 · 0 comments

Comments

@jgournet
Copy link

jgournet commented Oct 2, 2022

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

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

No branches or pull requests

1 participant