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

Support external standalone ETCD #2558

Open
P0t4T0o opened this issue Mar 4, 2025 · 1 comment · May be fixed by #2559
Open

Support external standalone ETCD #2558

P0t4T0o opened this issue Mar 4, 2025 · 1 comment · May be fixed by #2559

Comments

@P0t4T0o
Copy link

P0t4T0o commented Mar 4, 2025

Is your feature request related to a problem?

We would like to have support for standalone external ETCD as a backing store (for K3S at least) in recent vcluster versions and onwards. Our project runs over 1000 vclusters (currently on v0.15.7) and we would like to further stick to this awesome project with possibility to continue using external ETCD.

Which solution do you suggest?

Support external ETCD configuration in vcluster config and create etcd client accordingly.
values.yaml:

controlPlane:
  statefulSet:
    persistence:
      addVolumes:
      - name: etcd-root-client-tls
        secret:
          defaultMode: 420
          secretName: etcd-root-client-tls
      addVolumeMounts:
      - mountPath: /etc/etcd/certs
        name: etcd-root-client-tls
  backingStore:
    etcd:
      external:
        enabled: true
        service: "https://etcd.dummy-namespace.svc.cluster.local:2379"
        tls:
          certFile: "/etc/etcd/certs/tls.crt"
          keyFile: "/etc/etcd/certs/tls.key"
          caFile: "/etc/etcd/certs/ca.crt"

Which alternative solutions exist?

No response

Additional context

No response

@P0t4T0o P0t4T0o linked a pull request Mar 4, 2025 that will close this issue
@P0t4T0o P0t4T0o changed the title Support external/standalone ETCD Support external standalone ETCD Mar 4, 2025
@cbron
Copy link
Contributor

cbron commented Mar 7, 2025

Hello @P0t4T0o , we do support external etcd: https://www.vcluster.com/docs/vcluster/configure/vcluster-yaml/control-plane/components/backing-store/#backingStore-etcd-deploy-enabled
Are you meaning that in this case the etcd is deployed and managed separately ? In that case it would be more like a DB connector, but for etcd: https://www.vcluster.com/docs/vcluster/configure/vcluster-yaml/control-plane/components/backing-store/database/external
Afaik we don't currently support that, though @matskiv may know better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants