diff options
author | Evan Read <eread@gitlab.com> | 2019-07-25 10:13:10 +1000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-25 10:13:10 +1000 |
commit | 686b2b262391d20a3530e26d080d9630aaa09bcd (patch) | |
tree | 76db8862211f2a3f1f43e6af6f39f32291f15713 | |
parent | 2bb64b442c72baecbe6c15d9af89c706117e2f44 (diff) | |
download | gitlab-ce-docs/add-structure-to-cluster-topic.tar.gz |
Update annotation informationdocs/add-structure-to-cluster-topic
-rw-r--r-- | doc/user/project/clusters/index.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md index ae39d377a35..670dde6bb00 100644 --- a/doc/user/project/clusters/index.md +++ b/doc/user/project/clusters/index.md @@ -87,8 +87,14 @@ When enabled, the Kubernetes service adds [web terminal](../../../ci/environment support to your [environments](../../../ci/environments.md). This is based on the `exec` functionality found in Docker and Kubernetes, so you get a new shell session within your existing containers. To use this integration, you should deploy to Kubernetes using -the deployment variables above, ensuring any pods you create are labelled with -`app=$CI_ENVIRONMENT_SLUG`. GitLab will do the rest! +the deployment variables above, ensuring any deployments, replica sets, and +pods are annotated with: + +- `app.gitlab.com/env: $CI_ENVIRONMENT_SLUG` +- `app.gitlab.com/app: $CI_PROJECT_PATH_SLUG` + +`$CI_ENVIRONMENT_SLUG` and `$CI_PROJECT_PATH_SLUG` are the values of +the CI variables. ## Adding and removing clusters |