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

Improved availability for zarf internal oci registry #3001

Open
lsoica opened this issue Sep 16, 2024 · 0 comments
Open

Improved availability for zarf internal oci registry #3001

lsoica opened this issue Sep 16, 2024 · 0 comments
Labels
enhancement ✨ New feature or request

Comments

@lsoica
Copy link

lsoica commented Sep 16, 2024

Currently, zarf internal registry is a single replica workload that pulls from itself.
In case of a multi node cluster:

  1. If the registry pod gets rescheduled to a different node, it won't be able to pull its own image
  2. If the underlying cluster is upgraded based on a node replacement strategy (e.g. eks), the registry pod gets rescheduled to a new node, hence, it won't be able to pull its own image

Describe the solution you'd like

The internal registry could be a multi replica (configurable) STS (from 1 to n, so that a consumer can pick the level of availability it need) and:

  1. a service is created by the internal registry helm chart for each of the sts replicas, labeled so that zarf knows where to push
  2. zarf pushes to every replica (to all the services that are properly labeled)
  3. cluster nodes pull from any, through the nodeport

Backward compatibility is preserved by defaulting to replicaCount=1 for the internal registry STS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
Status: Triage
Development

No branches or pull requests

1 participant