job "kubernetes" "pod" {
namespace = "default"
config {
tag = "app:nginx"
count = 1
chaos = "terminate"
}
}
chaos config:
^^ terminateAll This needs to change, terminateAll should delete at the same time every pod found not entire collection, deletecolletion was easier to implement, and make count boolean, either 0 or 1, however cannot ignore parameters like that. This can be achieved with either go routines or functions.