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

Statefulset support #56

Closed
zhiyanliu opened this issue Dec 20, 2016 · 5 comments
Closed

Statefulset support #56

zhiyanliu opened this issue Dec 20, 2016 · 5 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@zhiyanliu
Copy link

zhiyanliu commented Dec 20, 2016

In client-go master branch statefulset support [0] has been added by bot from kubernetes master days ago, however it is not included in 1.4 and 1.5 release. So may I know if there is a plan to support it? Will team release a new client version in near future? Thanks.

[0] https://github.com/kubernetes/client-go/blob/master/kubernetes/typed/apps/v1beta1/statefulset.go

@caesarxuchao
Copy link
Member

No, we are not going to backport statefulset support to 1.4 or 1.5.

Can you use v2.0.0-alpha.1? It should have the statefulset.

@zhiyanliu
Copy link
Author

Cool! Will try release-2.0 [0] in these two days. Thanks again.

[0] https://github.com/kubernetes/client-go/blob/release-2.0/kubernetes/typed/apps/v1beta1/statefulset.go

@dshulyak
Copy link
Contributor

It would be very convenient to have Petsets/Statefulsets in the same client library. I need to support both 1.4/1.5 clusters in the application. The only solution i came up with is to vendor both kubernetes and client-go of different versions...

@caesarxuchao maybe you can suggest something?

@dshulyak
Copy link
Contributor

I actually can't import kubernetes v1.4.7, while i have client-go of v2.0.0. Is there any other workaround?

@caesarxuchao
Copy link
Member

I actually can't import kubernetes v1.4.7, while i have client-go of v2.0.0

Why? client-go doesn't vendor k8s, so I thought it wouldn't prevent you from importing kuberentes v1.4.7.

I can't think of a better solution. Statefulset and Petset never coexist in a same release.

(Sorry I've been OOO and will be OOO for the next two weeks, so there might be delay in my replies. Ask @lavalamp if needed)

@WilliamDenniss WilliamDenniss added the kind/support Categorizes issue or PR as a support question. label Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

4 participants