Home / Keptn v1 Docs / Release 0.19.x / Reference / Configurations / Action-Provider
An action-provider defines the actions that can be declared in a remediation configuration. The action-provider receives a Keptn event, performs its action, and notifies Keptn about the execution. Keptn serves as the control plane that orchestrates the remediation but the action-provider executes the corrective action.
An action-provider can be a Keptn service that is installed in your Keptn environment or a custom action-provider that you create.
The Unleash action-provider
toggles the feature flag specified by the key-value
map in the value property.
The key
declares the name of the feature toggle and the value
specifies the target setting.
actionsOnOpen
field in the remediation configuration:- name: Toogle feature flag
action: featuretoggle
description: Toggle feature flag EnablePromotion from ON to OFF.
value:
EnablePromotion: off
kubectl apply -f kubectl apply -f https://raw.githubusercontent.com/keptn-contrib/unleash-service/0.1.0/deploy/service.yaml
Note: The referenced service.yaml
file already contains the required distributor.
This action-provider increases the ReplicaSet of a Kubernetes deployment by the number defined by the value increment.
actionsOnOpen
field in the remediation configuration:- name: Scaling ReplicaSet by 1
description: Scaling the ReplicaSet of a Kubernetes Deployment by 1
action: scaling
value: "1"
helm-service
is installed by default.