@@ -125,25 +125,24 @@ For more information about the `environment` keywords, see
...
@@ -125,25 +125,24 @@ For more information about the `environment` keywords, see
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/300741) in GitLab 13.10.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/300741) in GitLab 13.10.
There are cases where you might want to use a code name as an environment name instead of using
Sometimes, instead of using an [industry standard](https://en.wikipedia.org/wiki/Deployment_environment)
an [industry standard](https://en.wikipedia.org/wiki/Deployment_environment). For example, your environment might be called `customer-portal` instead of `production`.
environment name, like `production`, you might want to use a code name, like `customer-portal`.
This is perfectly fine, however, it loses information that the specific
While there is no technical reason not to use a name like `customer-portal`, the name
environment is used as production.
no longer indicates that the environment is used for production.
To keep information that a specific environment is for production or
To indicate that a specific environment is for a specific use,
some other use, you can set one of the following tiers to each environment:
#### Embedding metrics in GitLab Flavored Markdown
#### Embedding metrics in GitLab Flavored Markdown
Metric charts can be embedded within GitLab Flavored Markdown. See [Embedding Metrics within GitLab Flavored Markdown](../../operations/metrics/embed.md) for more details.
Metric charts can be embedded in GitLab Flavored Markdown. See [Embedding Metrics in GitLab Flavored Markdown](../../operations/metrics/embed.md) for more details.
### Web terminals
### Web terminals
> Web terminals were added in GitLab 8.15 and are only available to project Maintainers and Owners.
If you deploy to your environments with the help of a deployment service (for example,
If you deploy to your environments with the help of a deployment service (for example,
the [Kubernetes integration](../../user/project/clusters/index.md)), GitLab can open
the [Kubernetes integration](../../user/project/clusters/index.md)), GitLab can open
a terminal session to your environment.
a terminal session to your environment. You can then debug issues without leaving your web browser.
The Web terminal is a container-based deployment, which often lack basic tools (like an editor),
and can be stopped or restarted at any time. If this happens, you lose all your
changes. Treat the Web terminal as a debugging tool, not a comprehensive online IDE.
This is a powerful feature that allows you to debug issues without leaving the comfort
Web terminals:
of your web browser. To enable it, follow the instructions given in the service integration
documentation.
Note that container-based deployments often lack basic tools (like an editor), and may
- Are available to project Maintainers and Owners only.
be stopped or restarted at any time. If this happens, you lose all your
- Must [be enabled](../../administration/integration/terminal.md).
changes. Treat this as a debugging tool, not a comprehensive online IDE.
Once enabled, your environments display a **Terminal** button:
In the UI, you can view the Web terminal by selecting a **Terminal** button:
![Terminal button on environment index](img/environments_terminal_button_on_index_v13_10.png)
![Terminal button on environment index](img/environments_terminal_button_on_index_v13_10.png)
...
@@ -655,8 +646,7 @@ You can also access the terminal button from the page for a specific environment
...
@@ -655,8 +646,7 @@ You can also access the terminal button from the page for a specific environment
![Terminal button for an environment](img/environments_terminal_button_on_show_v13_10.png)
![Terminal button for an environment](img/environments_terminal_button_on_show_v13_10.png)
Wherever you find it, clicking the button takes you to a separate page to
Select the button to establish the terminal session: