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

nexus/clusterIP-headlessService #8565

Merged
merged 2 commits into from
Oct 26, 2018

Conversation

guptaarvindk
Copy link
Contributor

@guptaarvindk guptaarvindk commented Oct 18, 2018

support for clusterIP services with specific cluster IP or None for headless service.
support for statefulsets (while keeping backward compatibility with development)

Signed-off-by: Arvind Gupta guptaarvindk@gmail.com

What this PR does / why we need it:

if ingress controller is used its better to use headless service behind ingress.

it doesn't make sense to use deployment with static pv/pvc. Every time helm chart is deleted or new deployment created it will use new volume resulting not able to really be persistence across failures/re-starts/re-installs. Better way is to use statefulsets so that volume is truly persistence across failures/re-starts/re-installs. Ideally we dont need Deployment, but for backward compatibility I have kept the deployment as well. User have choice to select one. I have kept deployment as default but StatefulSet should be preferred choice.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • [x ] DCO signed
  • [x ] Chart Version bumped
  • [x ] Variables are documented in the README.md

@helm-bot helm-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Oct 18, 2018
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 18, 2018
stable/sonatype-nexus/templates/proxy-svc.yaml Outdated Show resolved Hide resolved
stable/sonatype-nexus/Chart.yaml Outdated Show resolved Hide resolved
@guptaarvindk
Copy link
Contributor Author

hi @sameersbn , I have fixed what you recommended. As anyway we are bumping up the minor rev, I have also added the support for StatefulSet. Please see my comments in this PR. Please feel free to provide feedback.

@rjkernick
Copy link
Collaborator

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 19, 2018
@rjkernick
Copy link
Collaborator

/assign

@rjkernick
Copy link
Collaborator

Please merge the latest master branch and fix merge conflicts

…eadless service.

Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
@helm-bot helm-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 22, 2018
…y for deploymnet usage.

- fixed issues from previous PR
- bumped up minor version.
Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
@helm-bot helm-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 22, 2018
@guptaarvindk
Copy link
Contributor Author

Hi @sameersbn and @rjkernick can you please review the new changes.

@guptaarvindk
Copy link
Contributor Author

Hi @sameersbn and @rjkernick can you please review this PR. Thanks,

@rjkernick
Copy link
Collaborator

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 26, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guptaarvindk, rjkernick

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 26, 2018
@k8s-ci-robot k8s-ci-robot merged commit 49b4a37 into helm:master Oct 26, 2018
kenichi-shibata pushed a commit to kenichi-shibata/charts that referenced this pull request Oct 30, 2018
* support for clusterIP services with specific cluster IP or None for headless service.

Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>

* - added support for statefulsets, while keeping backward compatibility for deploymnet usage.
- fixed issues from previous PR
- bumped up minor version.
Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
Jnig pushed a commit to Jnig/charts that referenced this pull request Nov 13, 2018
* support for clusterIP services with specific cluster IP or None for headless service.

Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>

* - added support for statefulsets, while keeping backward compatibility for deploymnet usage.
- fixed issues from previous PR
- bumped up minor version.
Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
Signed-off-by: Jakob Niggel <info@jakobniggel.de>
wgiddens pushed a commit to wgiddens/charts that referenced this pull request Jan 18, 2019
* support for clusterIP services with specific cluster IP or None for headless service.

Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>

* - added support for statefulsets, while keeping backward compatibility for deploymnet usage.
- fixed issues from previous PR
- bumped up minor version.
Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants