Giter Site home page Giter Site logo

Comments (4)

torstenwalter avatar torstenwalter commented on August 20, 2024

@Alien2150 what do you mean by:

Kubernetes scheduler a hint that the service should be moved first before termination ?

Jenkins Controller does not support HA. There is just a single instance running. So how would this help?

from helm-charts.

Alien2150 avatar Alien2150 commented on August 20, 2024

Good point @torstenwalter . Also after rereading the docs; It might be problematic in various cases when running in non-HA setup (It's even not recommended to not do it then). Maybe providing it optional might be useful in cases where Nodes should be blocked from being taken down (See second example: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#think-about-how-your-application-reacts-to-disruptions)

from helm-charts.

torstenwalter avatar torstenwalter commented on August 20, 2024

Possible Solution 1: Do not use a PDB and tolerate occasional downtime.

Possible Solution 2: Set PDB with maxUnavailable=0. Have an understanding (outside of Kubernetes) that the cluster operator needs to consult you before termination. When the cluster operator contacts you, prepare for downtime, and then delete the PDB to indicate readiness for disruption. Recreate afterwards.

For solution 1 there is nothing to do. Solution 2 is something I'd rather not implement in the helm chart.

from helm-charts.

Alien2150 avatar Alien2150 commented on August 20, 2024

So providing it as a template? Might work

from helm-charts.

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.