diff --git a/mkdocs/docs/experiments/categories/pods/common-tunables-for-pod-experiments.md b/mkdocs/docs/experiments/categories/pods/common-tunables-for-pod-experiments.md index fdc505a80..ca18e7873 100644 --- a/mkdocs/docs/experiments/categories/pods/common-tunables-for-pod-experiments.md +++ b/mkdocs/docs/experiments/categories/pods/common-tunables-for-pod-experiments.md @@ -129,4 +129,77 @@ spec: env: - name: DEFAULT_APP_HEALTH_CHECK value: 'false' -``` \ No newline at end of file +``` + +### Node Label Filter For Selecting The Target Pods + +It defines the target application pod selection from a specific node. It is helpful for the scenarios where you want to select the pods scheduled on specific nodes as chaos candidates considering the pod affected percentage. It can be tuned via `NODE_LABEL` ENV. + +NOTE: This feature requires having node-level permission or clusterrole service account for filtering pods on a specific node. + + +
APP_LABEL | +TARGET_PODS | +NODE_LABEL | +SELECTED PODS | +
---|---|---|---|
Provided | +Provided | +Provided | +The target pods that are filtered from applabel and resides on node containing the given node label and also provided in TARGET_PODS env is selected | +
Provided | +Not Provided | +Provided | +The pods that are filtered from applabel and resides on node containing the given node label is selected | +
Not Provided | +Provided | +Provided | +The target pods are selected that resides on node with given node label | +
Not Provided | +Not Provided | +Provided | +Invalid | +
Not Provided | +Not Provided | +Not Provided | +Invalid | +