|
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +GitOps environments overview |
| 6 | + |
| 7 | +Codefresh has several dashboards each providing different views on different aspects of GitOps appllications and deployments. The GitOps Apps dashboard is a centralized location to view, monitor, and manage application deployments, resources, and configurations. The GitOps Overview dashboard is a high-level overview of GitOps applications via key APIs. |
| 8 | + |
| 9 | +The GitOps Environments dashboard combines a view of applications in the context of their environments allowing you to track applications as they move across your software development lifecycles. |
| 10 | + |
| 11 | +What is an environment |
| 12 | +What is special about the Gitops environment? |
| 13 | + |
| 14 | +K8s entity - full managable |
| 15 | + |
| 16 | + |
| 17 | +Allow you to see at any moment in time what's deployed where |
| 18 | +Simple drag-n-drop for left-right-shift environments |
| 19 | + |
| 20 | +Environments, products, applications |
| 21 | +Codefresh allows you to define a unique relationship between applications and the environments they are deployed to or deployed in through the concept of Products. |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +##Create environments |
| 26 | +Create a GitOps environment corresponding to any stage in your development and deployment cycle. Define the configuration of the environment through a unique name, it's usage designation, tags, and single or multiple cluster-namespace pairs. The configuration defines the environment as an entitry The environment is automatically populated with the GitOps applications deployed on the clusters and namespaces, matching the tags defined if any. |
| 27 | + |
| 28 | + |
| 29 | +1. In the Codefresh UI, from the Ops in the sidebar, select**Environments**, and then click**Add Environment**. |
| 30 | +1. Define the following: |
| 31 | +1. Name: A unique name for your environment, which is meaningful in the context of your development and deployment cycle. |
| 32 | +1.**Kind**: The purpose of this environment, and can be either**Production** where the live versions of the applications are deployed, or**Non-production** where development, testing, staging versions are deployed. |
| 33 | +1.**Tags**: Any metadata providing additional context and information about the environment, used for filtering and organization purposes. |
| 34 | +1.**Clusters and Namespaces**: Single or multiple cluster-namespace pairs to associate with the configuration for this environment. Adding a cluster with one or more namespaces populates the environment with all the applications deployed on it. When selecting namespaces in a cluster, use * as a wildcard for pattern-based matching. For example, you can use`prod-*` to add all namespaces with names starting with`prod-`. |
| 35 | +1. Click**Add**. The environment is displayed in the Environments page. (NIMA: Bogdan - Regex only for ) |
| 36 | +SCREENSHOT OF ENVIRONMENT WITH ALL OPTIONS |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +##Work with environments |
| 41 | +###Select view mode |
| 42 | + |
| 43 | + |
| 44 | +###Edit environments |
| 45 | +(NIMA: Bogdan - what can you edit? All except the name or even the name?) |
| 46 | + |
| 47 | +###Delete environments |
| 48 | +Deleting an environment only deletes the environment view. The underlying resources or configuration, including the applications, clusters and namespaces are not deleted. |
| 49 | + |
| 50 | +(NIMA: Ask Bogdan - names and tags are deleted?) |
| 51 | + |
| 52 | +###Reorder environments |
| 53 | +By default, the Environments dashboard shows the environments in the same order in which they were created. You can change the order to suit your requirements by simple drag and drop. For example, if you have two non-production and one production environment for your e-commerce application, you can order them to display first the non-production and then the production environment to reflect the corresponding stages. |
| 54 | + |
| 55 | + |
| 56 | + |