How to create a policy
Introduction
Policies helps to configure special use-cases to improve the platform resiliency.
| Concept | Description |
|---|---|
| Policy Template | Defines a use-case that can be applied to the platform with pre-defined params as configuration. |
| Policy | A long-lived instance of a PolicyTemplate that continuously enforces and monitors the use-case. |
Create a Policy
Policies can be created from a PolicyTemplate, with a specific configuration.
All templates can be viewed from Operations > Policy Templates (or go directly to /home/operations/policy-templates).
You will see all available policy templates along with their corresponding release phase. By clicking on the name of a policy template, you can access more details about it.
Steps to create a policy
- Navigate to the policy’s page: Operations > Policies (or go directly to
/home/operations/policies) - Click on Create Policy button
- Select the type of policy you want to deploy. Each option includes a different configuration and provides additional information about that policy.
- Once selected, you will proceed to the next screen where you need to configure your policy by setting a name and filling out the required fields. These fields may vary depending on the selected policy type.
- In the following screen, you must select the cluster where the policy will be applied, along with the corresponding credentials.
- In the final screen, you will see a summary of the policy you have configured. Click the Complete button to finish the configuration and create the policy.