charts icon indicating copy to clipboard operation
charts copied to clipboard

Request for xray and artifactory to be split up into multiple pods

Open engnatha opened this issue 1 year ago • 4 comments

The current statefulsets deploy everything as one pod. This means all containers have to get put on one node which makes it harder to scale the system horizontally for non-HA applications. Is there a design reason why all the containers have to be part of one pod or could they be split up to allow for better distribution?

engnatha avatar Sep 12 '25 17:09 engnatha

Hi @engnatha . Thanks for bringing this issue to discussion. The history behind these decisions is long and goes back to the early days of Artifactory and Xray where there were less services and we wanted to run Artifactory in a single container for simplicity (with an easy docker run artifactory...).

Today, we have split Artifactory to more services and moved them to separate containers.

We already have work in progress to split some of these services to their own pods for better separation of concerns. Some will remain in the same pod for stronger coupling. No ETA for this, but it is in the works 😄

eldada avatar Sep 14 '25 12:09 eldada

Wonderful! What's the best way to track the progress of/contribute to that effort?

engnatha avatar Sep 15 '25 15:09 engnatha

Wonderful! What's the best way to track the progress of/contribute to that effort?

This is tracked internally and without an ETA yet. So I suggest keeping this issue open and querying it once in a while...

eldada avatar Sep 16 '25 07:09 eldada

Hi JFrog team, @eldada @chukka,

Circling back on #2035 as we're planning production deployments and need your guidance on both non-HA and HA scenarios.

With splitServicesToContainers: true, we expected each service (router, frontend, access, etc.) to deploy as separate Deployments rather than staying co-located in StatefulSets. This would enable:

  • PodAntiAffinity for HA (single node failure protection)

  • Service-specific HPA for fine-grained scaling

  • Better pod distribution across cluster (33 pods vs 2 large nodes)

Questions:

  • Is independent Deployment per service planned for split containers?

  • For HA deployments (replicaCount: 2), what's the recommended pattern when services remain co-located?

Our client would greatly benefit from this capability. Thanks for your insights! 🙏

Hdz avatar Jan 08 '26 13:01 Hdz