Home / Keptn v1 Docs / Release 0.8.7 / Automated Operations / Remediation Config
The remediation config describes a remediation workflow in a declarative manner. Hence, it only defines what needs to be done and leaves all the details to other components.
The definition of a remediation sequence is done in a so-called Shipyard file.
Example: Simple shipyard file with a remediation sequence in a single stage
Note: Remediations can also be used in combination with multi stage delivery workflows.
Below is an example of a declarative remediation config:
Example of a remediation configuration:
A remediation is configured based on two properties:
The problem type maps a problem to a remediation by a matching problem title.
default
is supported.The below example shows a remediation configured for the problem type Response time degradation and Failure rate increase as well as any unknown problem.
If multiple actions are declared, Keptn sends out events in sequential order. Given the below example, the event for triggering scaling
is sent out before the event for featuretoggle
is fired.
Important: In the following command, the value of resourceUri
must be set to remediation.yaml
.
To add an remediation config to a service, use the keptn add-resource command: