Pod Network Chaos Scenarios using Krknctl

krknctl run pod-network-chaos (optional: --<parameter>:<value> )

Can also set any global variable listed here

Scenario specific parameters:

ParameterDescriptionTypeDefault
--namespaceNamespace of the pod to which filter need to be appliedstring
--label-selectorWhen pod_name is not specified, pod matching the label will be selected for the chaos scenariostring
--pod-nameWhen label_selector is not specified, pod matching the name will be selected for the chaos scenariostring
--instance-countTargeted instance count matching the label selectornumber1
--traffic-typeList of directions to apply filters - egress/ingress ( needs to be a list )string“[ingress,egress]”
--ingress-portsIngress ports to block ( needs to be a list )string
--egress-portsEgress ports to block ( needs to be a list )string
--wait-durationEnsure that it is at least about twice of test_durationnumber300
--test-durationDuration of the test runnumber120

To see all available scenario options

krknctl run pod-network-chaos --help