Commit cbb587ff authored by Mike Lewis's avatar Mike Lewis

Merge branch 'k8s_pod_logs_requirements' into 'master'

Make Enabling Deploy Boards SSOT for Kubernetes Pod Log requirements

See merge request gitlab-org/gitlab-ee!10439
parents 9de430de 452b8f10
......@@ -18,15 +18,4 @@ By displaying the logs directly in GitLab, developers can avoid having to manage
## Requirements
There are a few key requirements in order to be able to use Pod Logs:
1. [Create or connect a Kubernetes cluster to the project](index.md#adding-and-creating-a-new-gke-cluster-via-gitlab)
1. A GitLab Runner. If one is not available, they can be easily [deployed](index.md#installing-applications).
1. Ensure a Kubernetes label of `app: $CI_ENVIRONMENT_SLUG` is applied to the
deployments, replica sets, and pods, where `$CI_ENVIRONMENT_SLUG` is the value
of the [CI variable](../../../ci/variables/README.md#predefined-environment-variables).
This needed to determine the environment a pod belongs to
when is more than one. These resources should be
contained in the namespace defined in the Kubernetes service setting.
The [Auto DevOps](../../../topics/autodevops/index.md) `.gitlab-ci.yml` template has predefined
stages and commands to use, and automatically applies the labeling.
[Enabling Deploy Boards](../deploy_boards.md#enabling-deploy-boards) is required in order to be able to use Pod Logs.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment