Coder Social home page Coder Social logo

Statefulset support about client-go HOT 5 CLOSED

kubernetes avatar kubernetes commented on May 19, 2024
Statefulset support

from client-go.

Comments (5)

caesarxuchao avatar caesarxuchao commented on May 19, 2024

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.

from client-go.

zhiyanliu avatar zhiyanliu commented on May 19, 2024

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

from client-go.

dshulyak avatar dshulyak commented on May 19, 2024

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?

from client-go.

dshulyak avatar dshulyak commented on May 19, 2024

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

from client-go.

caesarxuchao avatar caesarxuchao commented on May 19, 2024

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)

from client-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.