--- ! name: "Load balancing hides a restart of Gateway's node for end users" team: "{{teamKey}}" hypothesis: "When a single node running one of the Gateway pod is restarted, then\ \ within 10 minutes all pods are ready." environment: "{{environmentName}}" lanes: - steps: - ! ignoreFailure: false parameters: duration: "10s" podCountCheckMode: "podCountEqualsDesiredCount" customLabel: "GIVEN: All pods are ready" actionType: "com.steadybit.extension_kubernetes.pod_count_check" radius: targetType: "com.steadybit.extension_kubernetes.kubernetes-deployment" predicate: operator: "AND" predicates: - key: "k8s.cluster-name" operator: "EQUALS" values: - "prod-demo" - key: "k8s.namespace" operator: "EQUALS" values: - "steadybit-demo" query: null - ! ignoreFailure: false parameters: delay: "0m" reboot: "true" customLabel: "WHEN: A node is rebooted" actionType: "com.steadybit.extension_host.shutdown" radius: targetType: "com.steadybit.extension_host.host" predicate: operator: "AND" predicates: - key: "k8s.cluster-name" operator: "EQUALS" values: - "prod-demo" - key: "k8s.namespace" operator: "EQUALS" values: - "steadybit-demo" - key: "k8s.deployment" operator: "EQUALS" values: - "gateway" query: null maximum: 1 - ! ignoreFailure: false parameters: duration: "5m" podCountCheckMode: "podCountLessThanDesiredCount" customLabel: "THEN: Ready Pod Count decreases" actionType: "com.steadybit.extension_kubernetes.pod_count_check" radius: targetType: "com.steadybit.extension_kubernetes.kubernetes-deployment" predicate: operator: "AND" predicates: - key: "k8s.cluster-name" operator: "EQUALS" values: - "prod-demo" - key: "k8s.namespace" operator: "EQUALS" values: - "steadybit-demo" - key: "k8s.deployment" operator: "EQUALS" values: - "gateway" query: null - ! ignoreFailure: false parameters: duration: "5m" podCountCheckMode: "podCountEqualsDesiredCount" customLabel: "THEN: Pod count is all back again" actionType: "com.steadybit.extension_kubernetes.pod_count_check" radius: targetType: "com.steadybit.extension_kubernetes.kubernetes-deployment" predicate: operator: "AND" predicates: - key: "k8s.cluster-name" operator: "EQUALS" values: - "prod-demo" - key: "k8s.namespace" operator: "EQUALS" values: - "steadybit-demo" - key: "k8s.deployment" operator: "EQUALS" values: - "gateway" query: null