Skip to content

Commit

Permalink
fixed input_fields in Dockerfile (#216)
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani authored Oct 24, 2024
1 parent e00bba4 commit 8ea32a2
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion application-outages/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LABEL krknctl.kubeconfig_path="/home/krkn/.kube/config"
LABEL krknctl.title="Application Outages"
LABEL krknctl.description="Scenario to block the traffic ( Ingress/Egress ) of an application matching the labels for the specified duration of time to understand the behavior of the service/other services which depend on it during downtime. This helps with planning the requirements accordingly, be it improving the timeouts or tweaking the alerts etc."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'



Expand Down
2 changes: 1 addition & 1 deletion container-scenarios/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ LABEL krknctl.kubeconfig_path="/home/krkn/.kube/config"
LABEL krknctl.title="Container Scenarios"
LABEL krknctl.description="Scenario to block the traffic ( Ingress/Egress ) of an application matching the labels for the specified duration of time to understand the behavior of the service/other services which depend on it during downtime. This helps with planning the requirements accordingly, be it improving the timeouts or tweaking the alerts etc."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion network-chaos/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ COPY network-chaos/network_chaos_ingress.yaml.template /home/krkn/kraken/scenari
LABEL krknctl.kubeconfig_path="/home/krkn/.kube/config"
LABEL krknctl.title="Network Chaos"
LABEL krknctl.description="Scenario to introduce network latency, packet loss, and bandwidth restriction in the Node's host network interface. The purpose of this scenario is to observe faults caused by random variations in the network."
LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion node-cpu-hog/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ LABEL krknctl.kubeconfig_path="/home/krkn/.kube/config"
LABEL krknctl.title="CPU Hog"
LABEL krknctl.description="This scenario is based on the arcaflow arcaflow-plugin-stressng plugin. The purpose of this scenario is to create cpu pressure on a particular node of the Kubernetes/OpenShift cluster for a time span. To enable this plugin add the pointer to the scenario input file scenarios/arcaflow/cpu-hog/input.yaml as described in the Usage section. This scenario takes a list of objects named input_list"

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion node-io-hog/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LABEL krknctl.kubeconfig_path="/home/krkn/.kube/config"
LABEL krknctl.title="I/O Hog"
LABEL krknctl.description="This scenario is based on the arcaflow arcaflow-plugin-stressng plugin. The purpose of this scenario is to create disk pressure on a particular node of the Kubernetes/OpenShift cluster for a time span. The scenario allows to attach a node path to the pod as a hostPath volume."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'


ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion node-memory-hog/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ LABEL krknctl.kubeconfig_path="/home/krkn/.kube/config"
LABEL krknctl.title="Memory Hog"
LABEL krknctl.description="This scenario is based on the arcaflow arcaflow-plugin-stressng plugin. The purpose of this scenario is to create Virtual Memory pressure on a particular node of the Kubernetes/OpenShift cluster for a time span."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion node-scenarios/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ LABEL krknctl.title="Node scenarios"
LABEL krknctl.description="This scenario disrupts the node(s) matching the label on a Kubernetes/OpenShift \
cluster. Actions/disruptions supported are listed. For further infos visit https://github.com/krkn-chaos/krkn/blob/main/docs/node_scenarios.md"

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion pod-network-chaos/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ accordingly, be it improving the timeouts or tweaking the alerts etc. With the c
ports which are enabled by allowed network policy rule. This chaos scenario addresses this issue by using OVS flow rules to block ports related \
to the pod. It supports OpenShiftSDN and OVNKubernetes based networks."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh

Expand Down
2 changes: 1 addition & 1 deletion pod-scenarios/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ LABEL krknctl.kubeconfig="/home/krkn/.kube/config"
LABEL krknctl.title="Pod Failures"
LABEL krknctl.description="This scenario disrupts the pods matching the label in the specified namespace on a Kubernetes/OpenShift cluster."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion power-outages/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ chaos scenario though, we figured this scenario was close to if the power went o
our ec2 nodes would be stopped/powered off. We tried to look at if aws cli had a way to forcefully poweroff \
the nodes (not gracefully) and they don't currently support so this scenario is as close as we can get to \"pulling the plug\""

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion pvc-scenario/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ LABEL krknctl.description="This scenario fills up a given PersistenVolumeClaim b
The purpose of this scenario is to fill up a volume to understand faults cause by the application using this volume. \
For more information refer the following documentation (https://github.com/krkn-chaos/krkn/blob/main/docs/pvc_scenario.md)."

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion service-disruption-scenarios/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ LABEL krknctl.description="Using this type of scenario configuration one is able
or a namespace matching a certain regex string. For more details documentation can be found here \
https://github.com/krkn-chaos/krkn/blob/main/docs/service_disruption_scenarios.md"

LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion service-hijacking/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ modifying the target Service selector to direct traffic to this web service for
Please refer to the documentation for the scenario file syntax https://github.com/krkn-chaos/krkn/blob/main/docs/service_hijacking_scenarios.md"


LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion syn-flood/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ within the cluster or an external target reachable by the cluster. For more deta
the following documentation (https://github.com/krkn-chaos/krkn-hub/blob/main/docs/syn-flood.md)."


LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion time-scenarios/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ the label on a Kubernetes/OpenShift cluster. More information can be found here
https://github.com/krkn-chaos/krkn/blob/master/docs/time_scenarios.md"


LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh
2 changes: 1 addition & 1 deletion zone-outages/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ to understand the impact on both Kubernetes/OpenShift platforms control plane as
nodes in that zone. More information is documented here https://github.com/krkn-chaos/krkn/blob/master/docs/zone_outage.md"


LABEL krknctl.inputFields='$KRKNCTL_INPUT'
LABEL krknctl.input_fields='$KRKNCTL_INPUT'

ENTRYPOINT /home/krkn/run.sh

0 comments on commit 8ea32a2

Please sign in to comment.