GithubHelp home page GithubHelp logo

Comments (3)

sechmann avatar sechmann commented on August 25, 2024

My thoughts:

ReplicaSets where all pods have one of the the following states are considered safe to scale down:

  • CreateContainerConfigError
  • ImagePullBackOff
  • ErrImagePull
  • Init:CrashLoopBackOff

Pods that have a high (thousands) number of restarts and are in CrashLoopBackoff or Error should notify the owning team, with a possibility to mute the alert

from babylon.

sondr3 avatar sondr3 commented on August 25, 2024

@sechmann Would be valid to also turn off pods that have been in a ContainerCreating for a very long time? We have a test deploy that never manages to mount a volume, so it just spins waiting for mounting forever.

from babylon.

sechmann avatar sechmann commented on August 25, 2024

No, because the volume might become available at a later time, and the pods would start up (without any changes to the deployment).
The way i see it a container "stuck" in ContainerCreating waiting for a volume to become available is normal given the eventual consistency nature of k8s.

from babylon.

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.