Kubernetes deployment
Compute deployments
job "kubernetes" "deployment" {
namespace = "nginx"
config {
tag = "app:nginx"
count = 1
chaos = "terminate"
}
}
chaos config:
- terminate: Finds deployments with specified label and terminates them, one by one.
- update: Finds a single deployment and updates the number of replicas to the count parament.