Dependent Environments
Create dependent environments in Facets that inherit infrastructure, tools, and deployed resources from a base environment to cut cost and duplication.
The Dependent Environment feature in Facets introduces a new paradigm in environment management by allowing it to inherit infrastructure, tools, and any deployed resources from a designated Base Environment.
This promotes consistency, reduces duplication of efforts, and simplifies maintenance by allowing dependent environments to be updated with changes made to the base environment if needed.
When to use this feature?
The two primary scenarios for using dependent environments are feature or non-production environments within the same project and shared non-production environments across projects. Both scenarios optimize cost and simplify infrastructure management. Read More
How to create a dependent environment?
While launching a new environment:
- Connect your Cloud Provider:
- Under the Infrastructure Type, choose the option to Use Existing Infrastructure to create a dependent environment.
- Select the Base Environment from which the dependent environment will inherit its infrastructure and settings.
- Specify a Namespace for where this environment will be set up in the Kubernetes cluster, to organize and isolate resources effectively.
- Review Secrets and Variables: You can input the actual values for variables declared in the Blueprint either now or after the launch. However, if you prefer, you can skip the 'Secrets and Variables' tab at this time.
- Review Resources:
- It provides a comprehensive overview of all resources in your environment.
- It also allows you to enable or disable resources prior to launching the environment.
- Once you have completed these steps, click Launch Environment.
Custom Domains
Map a custom domain to services in a Facets environment by adding a domain alias and URL on the Ingress resource, then creating a CNAME at your DNS provider.
Template Inputs
Use Facets template inputs and Mustache files to deploy per-tenant replicas of a resource in one environment, with logically isolated, centrally managed silos.