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

Use memory storage for etcd in e2d2 test clusters #179

Closed
pablochacin opened this issue Jun 3, 2023 · 0 comments · Fixed by #180
Closed

Use memory storage for etcd in e2d2 test clusters #179

pablochacin opened this issue Jun 3, 2023 · 0 comments · Fixed by #180
Labels
enhancement New feature or request

Comments

@pablochacin
Copy link
Collaborator

etcd is a well know source of overhead when running test clusters with kind.

The most common approach is to use tmpfs for the etcd database:

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
kubeadmConfigPatches:
- |
  kind: ClusterConfiguration
  etcd:
    local:
      dataDir: /tmp/etcd     # /tmp is mapped to tmpfs in kind's nodes

This configuration option could be added to the e2ecluster to enable faster cluster operation.

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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant