Availability Rules for Environments
Facets provides the ability to set up Availability Rules for your ephemeral environments. Using these rules, you can set up launch/destroy and scale up/scale down rules in your environments.
How to create Availability Rules for Environments?
- Open Projects and select the required Project.
- Select the Environments tab and select the desired Environment.
- Now, select the Environment Settings tab and select the Time Sensitive tab.
- Select the Environment Type as Time Sensitive.
- Select the type of rule you want to set up -
- Scale up / Scale down - This will scale down all deployments, stateful sets and disable any active cronjobs and scale up based on the set rules.
- Launch / Destroy - This will delete the cluster and all dependent infrastructure resources, and recreate them based on the set rules.
- Select if you want to enforce the rule daily, or on set days of the week, and choose the time frame for the same.
- Click Save Changes, and your Availability Rules will be saved for this environment.
You have successfully created Availability Rules for an environment in Facets. You can repeat this process for each environment in your system and set different rules for each one as needed.
Updated 5 months ago