Coder Social home page Coder Social logo

Comments (6)

kyrylyuk-andriy avatar kyrylyuk-andriy commented on July 18, 2024

I have the same issue, deployments are scheduled to be terminated but not all of them actually were terminated (pods in a deployment)

from kube-monkey.

worldtiki avatar worldtiki commented on July 18, 2024

Can you share the configs for kube monkey that you are using?

from kube-monkey.

kyrylyuk-andriy avatar kyrylyuk-andriy commented on July 18, 2024

my kube-monkey tool config

config:
  dryRun: false
  runHour: 11
  startHour: 12
  endHour: 13
  blacklistedNamespaces: [ "kube-system", "istio-system", "rbac-manager", "db-migrate" ]
  whitelistedNamespaces: [ "default"]
  timeZone: America/New_York
  debug:
   enabled: false # if you want to enable debugging and see how pods killed immediately set this to true
   schedule_immediate_kill: false

and labels in each opted in service

metadata:
  labels:
    kube-monkey/enabled: enabled
    kube-monkey/identifier: kube-monkey-victim
    kube-monkey/kill-mode: fixed
    kube-monkey/kill-value: "3"
    kube-monkey/mtbf: "1"
spec:
  template:
    metadata:
      labels:
        kube-monkey/enabled: enabled
        kube-monkey/identifier: kube-monkey-victim

this labels config use around 10-12 different services, all of them were scheduled for termination with pre defined hours and only 3-4 services (pods) were actually were terminated,

from kube-monkey.

worldtiki avatar worldtiki commented on July 18, 2024

Do you mind adding the logs, the version that you are using and more detail?
Is it always the same services that are not attacked or is ti random?

from kube-monkey.

kyrylyuk-andriy avatar kyrylyuk-andriy commented on July 18, 2024

i ran only once in production environment, i stopped until we figure out how this tool works, in logs we was that tool triggered termination for deployments but we didn't see any terminated pods after that.

our kube-monkey version

image: ayushsobti/kube-monkey:v0.3.0

from kube-monkey.

worldtiki avatar worldtiki commented on July 18, 2024

Sorry for the radio silence @kyrylyuk-andriy. A new version was released yesterday if you want to give it a try.

from kube-monkey.

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.