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

All-in-one managed data volume #19762

Closed
pmorie opened this issue Jan 16, 2016 · 9 comments
Closed

All-in-one managed data volume #19762

pmorie opened this issue Jan 16, 2016 · 9 comments
Labels
area/api Indicates an issue on api area. area/configmap-api area/downward-api lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. sig/storage Categorizes an issue or PR as relevant to SIG Storage.

Comments

@pmorie
Copy link
Member

pmorie commented Jan 16, 2016

This issue is to aggregate opinions and indications of interest in a single volume that handles all types of 'managed' data, such as:

  1. Secrets
  2. ConfigMaps
  3. Downward API
  4. Service Links

One possible API for such a volume might look like:

name: my-mega-dir
items:
  - configMapName: my-config-map
    files:
      - key: config
        file: myapp.conf
  - secretName: my-secret
    files:
      - key: password
        file: path/passwd.txt
  - downwardAPI: 
      apiVersion: v1
      fieldPath: metadata.name
    file: myapp.name.txt

Forking issue from discussion that started here: #18586 (comment)

@thockin
Copy link
Member

thockin commented Jan 28, 2016

I know it was spawned from something I said, but I haven't yet heard anyone ask for this.

@pmorie
Copy link
Member Author

pmorie commented Jan 28, 2016

@thockin I don't think anyone wants it, and I don't think it's a great idea for us to do anymore either, shall I close?

@thockin thockin closed this as completed Feb 8, 2016
@pmorie pmorie added the sig/storage Categorizes an issue or PR as relevant to SIG Storage. label Jun 3, 2016
@pmorie
Copy link
Member Author

pmorie commented Sep 7, 2016

I'm reopening this because I've gotten requests for it.

cc @kubernetes/sig-apps

@pmorie pmorie reopened this Sep 7, 2016
@thockin
Copy link
Member

thockin commented Sep 7, 2016

Other options in this vein:

  • allow multiple ConfigMaps or Secrets to be mounted into a single dir
    (overlay style)
  • allow a ConfigMapVolumeSource to pull multiple ConfigMap inputs (repeats
    for Secret)
  • provide a configurable sidecar container that can consume arbitrary
    inputs and synthesize a result directory
  • build a linkfarm volume that acts as a table-of-contents of symlinks into
    other volumes

On Wed, Sep 7, 2016 at 8:44 AM, Paul Morie notifications@github.com wrote:

Reopened #19762 #19762.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#19762 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVOkVbKhHW7s52Td0QFv4KPT-rJTZks5qntvlgaJpZM4HGUSQ
.

@erictune
Copy link
Member

What is the problem that this is solving? Is it helping the user by making the config less verbose when the same object is referenced several times? Or is it making the implementation in kubelet/runtime easier by restricting they ways that files-in-objects can be combined into files-in-chroots.

@thockin
Copy link
Member

thockin commented Sep 20, 2016

It is allowing the user to express something they can not easily express
today, which is a directory full of files that come from disparate
sources. I think we might be able to do even better, though, with some
sort of "merge" volume.

Imagine a volume that first recreates the directory on which it is being
mounted, and then adds in links to other places.

I could say:

  • mount secret foo on /foo
  • mount config bar on /bar
  • merge "/etc" with "/foo/mysecret.txt as foo.txt" and "/bar/myconfig.conf
    as bar.conf"

I thin this would actually solve the problems people really have. Need to
prototype and work out details.

On Tue, Sep 20, 2016 at 11:26 AM, Eric Tune notifications@github.com
wrote:

What is the problem that this is solving? Is it helping the user by making
the config less verbose when the same object is referenced several times?
Or is it making the implementation in kubelet/runtime easier by restricting
they ways that files-in-objects can be combined into files-in-chroots.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#19762 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVCt4IcSvsmSUr7LG4PE56exxx9d-ks5qsCVvgaJpZM4HGUSQ
.

@bgrant0607
Copy link
Member

Proposal is open: #35313

derekwaynecarr pushed a commit to derekwaynecarr/kubernetes that referenced this issue Feb 24, 2017
- Adds SIG Storage ownership of Projected* tests
  - discussion: kubernetes#19762
  - proposal: kubernetes#35313
@fejta-bot
Copy link

Issues go stale after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 18, 2017
@thockin
Copy link
Member

thockin commented Dec 27, 2017

We now have ProjectedVolumeSource

@thockin thockin closed this as completed Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Indicates an issue on api area. area/configmap-api area/downward-api lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. sig/storage Categorizes an issue or PR as relevant to SIG Storage.
Projects
None yet
Development

No branches or pull requests

7 participants