Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

How can I specify "medium: Memory" and "sizeLimit: 5Gi" in the code? #2088

Closed
dperique opened this issue Jun 1, 2019 · 1 comment
Closed

Comments

@dperique
Copy link

dperique commented Jun 1, 2019

I would like to be able to use emptyDir (currently the default), but I'd also like the volume to use tmpfs with 5Gig RAM (emptyDir.medium=Memory and emptyDir.sizeLimit=5Gi).

The yaml would be like this:

      volumes:
      - name: etcd-data
        emptyDir:
          medium: Memory
          sizeLimit: "5Gi"

An option to do this would be great as already mentioned in #2053.

I'm ok if an etcd-operator dev (or anyone) can provide clues for where we can specify medium and sizeLimit in the code.

@dperique
Copy link
Author

dperique commented Jun 2, 2019

Actually, I think #2053 covers this and if implemented, the PR will show where in the code to modify. Therefore, I'm closing this.

@dperique dperique closed this as completed Jun 2, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant