Coder Social home page Coder Social logo

member-operator's People

Contributors

alexeykazakov avatar baijum avatar christophd avatar dependabot[bot] avatar dipak-pawar avatar dkwon17 avatar fbm3307 avatar filariow avatar jkopriva avatar krishvoor avatar matousjobanek avatar metlos avatar mfrancisc avatar michkov avatar mmulholla avatar nurali-techie avatar omeramsc avatar rajivnathan avatar ranakan19 avatar roming22 avatar rsoaresd avatar sadlerap avatar sawood14012 avatar sbryzak avatar stuartwdouglas avatar tinakurian avatar xcoulon avatar zregvart avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

member-operator's Issues

Idler should support scale sub resources

The idler currently works on K8s built in resources such as Pods, Deployments and ReplicaSets to perform kill/scale-to-zero operations on long running user workloads.

Yet a user workload's custom resource may also control the replicas via scale sub resource (https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#scale-subresource).

In this case scaling deployments and replica sets to zero won't have any effect on the replicas as the custom resource controller will immediately bring back the replicas. The idler will then kill pods and the scale sub resource brings them back immediately.

A sample of such a workload using the scale sub resource is the Camel K integration custom resource.
https://github.com/apache/camel-k/blob/main/config/crd/bases/camel.apache.org_integrations.yaml#L5911

In case the deployment is owned by a custom resource the idler should also support the scale sub resource to make sure that the user workload is stopped properly.

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.