The Remediation Action configuration defines micro-operations to execute in response to a problem. These micro-operations are interpreted by Keptn to trigger the proper remediation and to provide self-healing for an application without modifying code.
Example of a remediation action configuration:
remediations: - name: "Response time degradation" actions: - action: scaling value: +1 - name: "Failure rate increase" actions: - action: featuretoggle value: EnablePromotion:off
A remediation action is configured based on two properties:
Important: In the following command, the value of the
resourceUri must be set to
To add an remediation action to a service, use the keptn add-resource command:
keptn add-resource --project=sockshop --stage=production --service=carts --resource=remediation.yaml --resourceUri=remediation.yaml