Skip to content

Kubernetes visualisation fixed filters

We want to start the implementation of the Environments page (design here) by supported a predefined, fixed set of labels.

A later approach might be a kind: Environment or something else TBD.

Prior art

The deprecated Deploy boards worked out of the following annotations(?):

  • app.gitlab.com/env: $CI_ENVIRONMENT_SLUG
  • app.gitlab.com/app: $CI_PROJECT_PATH_SLUG

The Kubernetes documentation includes a list of recommended labels.

Proposal

We consider a Kubernetes resource associated with a GitLab environment if

  1. they are in the Kubernetes namespace associated with the GitLab environment
  2. and have the labels
    • app.gitlab.com/environment_slug: The environment slug
    • app.gitlab.com/project_id: The project ID of the environment

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by Hordur Freyr Yngvason