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

Purpose of the non HA chart #1708

Closed
mikeycmccarthy opened this issue Dec 23, 2022 · 6 comments
Closed

Purpose of the non HA chart #1708

mikeycmccarthy opened this issue Dec 23, 2022 · 6 comments

Comments

@mikeycmccarthy
Copy link

Is this a request for help?:

Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Technically neither!

Version of Helm and Kubernetes:
Helm 3.8
K8s 1.21

Which chart:
artifactory / artifactory-ha

Which product license (Enterprise/Pro/oss):
Enterprise

JFrog support reference (if already raised with support team):
N/A

What happened:
We worked with JFrog around a new installation of JFrog and in several places we were going to use HA. We were told at some point that the artifactory-ha chart was going to be deprecated and all functionality moved to the regular artifactory chart. We were shown how we could use the non-ha chart to get an HA installation working.

Apparently JFrog's position has changed on this now and the two charts will continue to be developed simultaneously. We will need to migrate existing instances using the non-ha chart to the ha one ideally, which we haven't yet worked out how to do.

Our question is, what would choose someone to continue to use the non-HA chart vs the HA one with a single node? I can see that if you thought you would never, ever go HA then maybe it isn't necessary, but if there's even a chance you might want to add an HA node later then the pain of migrating would presumably make you seriously consider the HA chart from day one. Or have we missed something?

What you expected to happen:

N/A

How to reproduce it (as minimally and precisely as possible):

N/A

Anything else we need to know:

N/A

@itssiri
Copy link

itssiri commented Dec 26, 2022

Thanks for raising this issue. If you are using existing artifactory HA chart please continue to use it for upgrades.
If it is a fresh installation, you can use artifactory chart also..we support both the charts.
Note: If you are using artifactory chart and wish to increase/move to HA mode we would recommend increasing the replica count in values of artifactory chart via helm. But we don’t support migrating from artifactory chart to artifactory HA chart.

@mikeycmccarthy
Copy link
Author

Hi @itssiri , thanks for the comments.

What we believe we have seen is that HA using the non HA chart isn't as trivial as just increasing the replica count - we believe there's an issue around the naming of the PVC, so if you use an existing PVC there's no clear way to tell the non-HA chart to use a different PVC for each node, and you end up in a weird state.

I could well be wrong but I think HA with the non HA chart isn't possible, hence the question of whether the non HA chart serves a purpose.

Hope that makes sense!

Regards,
Michael

@mikeycmccarthy
Copy link
Author

Hi all,

Please feel free to close this one up, I had a really good session with @gitta-jfrog who explained why there is a separate HA and non HA chart and how it is going to stay like that for the foreseeable future.

Kind Regards,
Michael

@nxf5025
Copy link
Contributor

nxf5025 commented Nov 9, 2023

Hi all,

Please feel free to close this one up, I had a really good session with @gitta-jfrog who explained why there is a separate HA and non HA chart and how it is going to stay like that for the foreseeable future.

Kind Regards, Michael

Hey @mikeycmccarthy - Possible to provide some insight on that discussion? We are about to go through with the new HA setup, but it's not clear which chart to use considering the docs even says you can use either - https://jfrog.com/help/r/jfrog-installation-setup-documentation/install-artifactory-ha-with-helm

@mikeycmccarthy
Copy link
Author

Hi @nimerb , absolutely, I'll dig out my notes and share them here. I would strongly suggest you use the HA charts based on our experience. We started with them, then we pivoted and started again with the non HA charts as we were told they were to be deprecated, then the decision was made that they would be kept, sadly too late for us.

@gitta-jfrog
Copy link
Collaborator

Hi All,
Both "artifactory" and "artifactory-ha" charts support deployments of Artifactory High-Availability mode.

Main features that exist exclusively in the 'artifactory-ha' chart:

  • NFS Support - Outdated implementation, NFS can be implemented with 'customVolumeMounts' on artifactory chart.
  • existingSharedClaim - Mostly relevant when the Filestore located on Artifactory PVCs.

We plan to focus on the 'jfrog-platform' chart as the main chart for JFrog customers. The jfrog-platform chart allows customers to maintain one single chart for all of JFrog products.
The 'jfrog-platform' chart uses artifactory chart as a dependency.

For new deployments, I would suggest picking the 'jfrog-platform' chart.
Here is an example of how to use the platform chart to install only Artifactory and Xray:

helm repo update
kubectl create ns jfrog-platform

helm upgrade --install jfrog-platform -n jfrog-platform jfrog/jfrog-platform \
     --set artifactory.mc.enabled=false \
     --set distribution.enabled=false \
     --set redis.enabled=false \
     --set pipelines.enabled=false \
     --set insight.enabled=false

Yarden.

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

4 participants