> [Introduced][ce-1589] in [GitLab Enterprise Edition Premium][ee] 9.0.
> [Introduced][ce-1589] in [GitLab Enterprise Edition Premium][ee] 9.0.
If [Kubernetes] is your tool of choice for your application deployments, GitLab
GitLab's Deploy Boards offer a consolidated view of the current health and status of each CI [environment] running on Kubernetes, displaying the status of the pods in the deployment. Developers and other teammates can view the progress and status of a rollout, pod by pod, in the workflow they already use without any need to access Kubernetes.
offers a single place to view the current health and deployment status of each
[environment], displaying the specific status of each pod in the deployment.
Developers and other teammates can view the progress and status of a rollout,
pod by pod, in the workflow they already use without any need to access
Kubernetes.
## Overview
## Overview
...
@@ -15,7 +10,7 @@ With Deploy Boards you can gain more insight into deploys with benefits such as:
...
@@ -15,7 +10,7 @@ With Deploy Boards you can gain more insight into deploys with benefits such as:
- Following a deploy from the start, not just when it's done
- Following a deploy from the start, not just when it's done
- Watching the rollout of a build across multiple servers
- Watching the rollout of a build across multiple servers
- Finer state detail (Ready, Preparing, Waiting, Deploying, Finished, Failed)
- Finer state detail (Waiting, Deploying, Finished, Unknown)
Since Deploy Boards are tightly coupled with Kubernetes, there is some required
Since Deploy Boards are tightly coupled with Kubernetes, there is some required
knowledge. In particular you should be familiar with:
knowledge. In particular you should be familiar with:
...
@@ -32,43 +27,38 @@ the given environment. Hovering above each square you can see the state of a
...
@@ -32,43 +27,38 @@ the given environment. Hovering above each square you can see the state of a
deploy rolling out. The percentage is the percent of the pods that are updated
deploy rolling out. The percentage is the percent of the pods that are updated
to the latest release.
to the latest release.
## Enabling deploy boards
## Deploy Board Requirements
In order to have the Deploy Boards show up, you need to label your
In order to gather the deployment status you need to label your deployments, replica sets and pods with `app=$CI_ENVIRONMENT_SLUG`.
deployments, replica sets and pods with `app=$CI_ENVIRONMENT_SLUG`.
Each project will need to have a unique namespace in Kubernetes as well.
Each project will need to have a unique namespace in Kubernetes as well.
In particular, here are the requirements for the Deploy Boards to show up in
The complete requirements for Deploy Boards to display for a specific [environment] are:
your environments page:
1. You should have a Kubernetes cluster up and running
1. You should have a Kubernetes cluster up and running
1.You should be using GitLab Runner using the [Docker][docker-exec] or
1.Configure the [Kubernetes service](integrations/kubernetes.md) in your project for the cluster.
[Kubernetes executor][kube-exec]
1. GitLab Runner should be configured with the [Docker][docker-exec] or
1. Enable the [Kubernetes service](integrations/kubernetes.md) in your project
[Kubernetes][kube-exec] executor
1. Use the Kubernetes labels and label your deployments `app=$CI_ENVIRONMENT_SLUG`
1. Use the Kubernetes labels and label your deployments `app=$CI_ENVIRONMENT_SLUG`
in the unique namespace specified in the Kubernetes service setting.
in the unique namespace specified in the Kubernetes service setting. GitLab has a