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

Add new flocker API is needed to get the supported profiles of the flocker driver #2958

Open
shay-berman opened this issue Nov 22, 2016 · 3 comments

Comments

@shay-berman
Copy link

In case the flocker driver supports other profiles (not only the hardcoded gold, silver and bronze),
I suggest to add a new API in the IBlockDeviceAPI that return the supported profile by the driver.

And then flockerctl could use it to present the supported profile of the driver. for example "flockerctl list-profiles"

@wallnerryan
Copy link
Contributor

thanks @shay-berman !

Again, here what do you think about contributing a patch to Flocker based on the work that you did? Would this be of interest? We would be happy to accept a contribution and give you and your work credit in our project.

If you are, a first step would to write up a simple proposal in another issue, this would speed up getting it into flocker for sure.

cc @wallrj

@wallrj
Copy link
Contributor

wallrj commented Nov 25, 2016

In a the current Kubernetes world, StorageClasses have to be registered by the Kubernetes administrator.
Kubernetes users can then query the Kubernetes API for the list of available StorageClasses.

It seems to me that in a production deployment, the Kubernetes / Mesos / Docker Datacentre administrator would want tight control over which storage profiles are available; and they'd probably only want to make a subset of profiles available to each category of applications / developers.

So I'm not yet convinced that this should be part of the Flocker API.

@shay-berman
Copy link
Author

I agree with you that "Kubernetes .... administrator would want tight control over which storage profiles are available"

But the question is how the administrator knows what are the available storage profiles?
And I think that he should ask Flocker what are the available profiles that supported by the flocker driver. So now he will define the relevant profiles in the Kubernetes.

What do you think?

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

No branches or pull requests

3 participants