-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathDockerfile.template
24 lines (16 loc) · 1.07 KB
/
Dockerfile.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Dockerfile for kraken
FROM quay.io/krkn-chaos/krkn:latest
ENV KUBECONFIG /home/krkn/.kube/config
# Copy configurations
COPY config.yaml.template /home/krkn/kraken/config/config.yaml.template
COPY metrics_config.yaml.template /home/krkn/kraken/config/kube_burner.yaml.template
COPY application-outages/env.sh /home/krkn/env.sh
COPY env.sh /home/krkn/main_env.sh
COPY application-outages/run.sh /home/krkn/run.sh
COPY common_run.sh /home/krkn/common_run.sh
COPY application-outages/app_outages.yaml.template /home/krkn/kraken/scenarios/app_outage.yaml.template
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.input_fields='$KRKNCTL_INPUT'
ENTRYPOINT /home/krkn/run.sh