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

Enhancement in Nexus Spec #28

Open
AdheipSingh opened this issue Jan 3, 2020 · 8 comments
Open

Enhancement in Nexus Spec #28

AdheipSingh opened this issue Jan 3, 2020 · 8 comments
Assignees
Labels
RFE 🙏 Request For Enhancements
Milestone

Comments

@AdheipSingh
Copy link

AdheipSingh commented Jan 3, 2020

In current master this is the nexus spec object supporting the following parameters.

type NexusSpec struct {
	Replicas int32 `json:"replicas"`
	Image string `json:"image,omitempty"`
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	Persistence NexusPersistence `json:"persistence"`
	UseRedHatImage bool `json:"useRedHatImage"`
	Networking NexusNetworking `json:"networking,omitempty"`
}

I would like to suggest an enhancement to this spec following all the deployment parameters such as taints,tolerations, liveliness, affinity , pod disruption budgets to be added.
Ill raise a PR for this soon.

Possible to add this on Projects as ticket enhancement.

@ricardozanini
Copy link
Member

ricardozanini commented Jan 3, 2020

Hi! Please feel free to send a PR so we can discuss this implementation.

I’d like to also understand the motivations behind this. Do you mind sharing some use cases? Will help me understanding your needs. :)

Many thanks for your contribution!

@ricardozanini ricardozanini added the enhancement 👑 New feature or request label Jan 3, 2020
@AdheipSingh
Copy link
Author

I want like to add the following in the deployment spec

  1. NodeSelectors, Tolerations, Affinity - I want to deploy nexus on tainted nodes so that no other pod apart from nexus can run on node.
  2. Security Context - Apart from admin, don't want other teams to exec and execute commands in the container.
  3. Pod Disruption Budget - PDB is critical in case on node drains and upgrades would want certain no of pods up as always.
  4. Some custom annotations, and labels would be good.

@ricardozanini
Copy link
Member

Awesome! Go ahead and send a PR, but wait for one update I’ll be sending over next Monday that changes the way the Deployment equality is done.

Would be needed for those changes.

Thanks again for reporting this.

@ricardozanini ricardozanini added RFE 🙏 Request For Enhancements and removed enhancement 👑 New feature or request labels Jan 4, 2020
@ricardozanini ricardozanini added this to the v0.2.0 milestone Jan 4, 2020
@ricardozanini
Copy link
Member

Related: #29

@AdheipSingh you can now rebase your branch and send the PR :-)

@AdheipSingh
Copy link
Author

@ricardozanini Sure by eow it should be finalized.

@AdheipSingh AdheipSingh reopened this Jan 7, 2020
@ricardozanini ricardozanini modified the milestones: v0.2.0, v0.3.0 Apr 25, 2020
@Kaitou786
Copy link
Collaborator

@AdheipSingh are you planning to work on this issue?

@ricardozanini
Copy link
Member

@Kaitou786 if you have the time, suggest a PR so we can discuss there and invite @AdheipSingh. Seems a long time, maybe he got busy with other work. :(

@Kaitou786
Copy link
Collaborator

@ricardozanini sure :-)

@ricardozanini ricardozanini modified the milestones: v0.3.0, v0.4.0 Aug 2, 2020
@ricardozanini ricardozanini modified the milestones: v0.4.0, v0.5.0 Oct 27, 2020
@ricardozanini ricardozanini modified the milestones: v0.5.0, v0.6.0 Dec 9, 2020
@ricardozanini ricardozanini modified the milestones: v0.6.0, v0.7.0 Jun 2, 2021
@ricardozanini ricardozanini self-assigned this Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE 🙏 Request For Enhancements
Projects
None yet
Development

No branches or pull requests

3 participants