Scenarios

Available Kkrn-AI Scenarios

The following Krkn scenarios are currently supported by Kkrn-AI.

At least one scenario must be enabled for the Kkrn-AI experiment to run.

ScenarioKkrn-AI Config (YAML)
Pod Scenarioscenario.pod-scenarios
Application Outagesscenario.application-outages
Container Scenarioscenario.container-scenarios
Node CPU Hogscenario.node-cpu-hog
Node Memory Hogscenario.node-memory-hog
Node IO Hogscenario.node-io-hog
Syn Floodscenario.syn-flood
Time Scenarioscenario.time-scenarios
Network Scenariosscenario.network-scenarios
DNS Outagescenario.dns-outage
PVC Scenarioscenario.pvc-scenarios

By default, scenarios are not enabled. Depending on your use case, you can enable or disable these scenarios in the krkn-ai.yaml config file by setting the enable field to true or false.

scenario:
  pod-scenarios:
    enable: true

  application-outages:
    enable: false

  container-scenarios:
    enable: false

  node-cpu-hog:
    enable: true

  node-memory-hog:
    enable: true

  node-io-hog:
    enable: false

  syn-flood:
    enable: false

  time-scenarios:
    enable: true

  network-scenarios:
    enable: false

  dns-outage:
    enable: true

  pvc-scenarios:
    enable: false