Syn Flood Scenario using Krknctl

krknctl run syn-flood (optional: --<parameter>:<value> ) | 

Can also set any global variable listed here

Scenario specific parameters:

ParameterDescriptionTypeDefault
--packet-sizeThe size in bytes of the SYN packetnumber120
--window-sizeThe TCP window size between packets in bytesnumber64
--chaos-durationThe number of seconds the chaos will lastnumber120
--namespaceThe namespace containing the target service and where the attacker pods will be deployedstringdefault
--target-serviceThe service name (or the hostname/IP address in case an external target will be hit) that will be affected by the attack.Must be empty if TARGET_SERVICE_LABEL will be setstring
--target-portThe TCP port that will be targeted by the attacknumber
--target-service-labelThe label that will be used to select one or more services.Must be left empty if TARGET_SERVICE variable is setstring
--number-of-podsThe number of attacker pods that will be deployednumber2
--imageThe container image that will be used to perform the scenariostringquay.io/krkn-chaos/krkn-syn-flood:latest
--node-selectorsThe node selectors are used to guide the cluster on where to deploy attacker pods. You can specify one or more labels in the format key=value;key=value2 (even using the same key) to choose one or more node categories. If left empty, the pods will be scheduled on any available node, depending on the cluster s capacity.string

To see all available scenario options

krknctl run syn-flood --help