Skip to content

Show cluster error when namespace/svc account missing

Show error state in cluster list page when project does not have corresponding namespace/service account

Problem to solve

Due to errors, a project may not have its restricted service account / project namespace created for the Kubernetes cluster. This will cause deployments to fail as KUBE_TOKEN will be empty

Target audience

Further details

Solution

When a namespace or svc account is missing, the preparing stage will not successfully complete. The job will error and we will show the following:

Screen_Shot_2019-03-15_at_4.07.15_PM

Illustration: https://gitlab-org.gitlab.io/gitlab-svgs/illustrations?q=illustrations%2Fpipelines_failed.svg

The user should be able to retry the job, which will try to recreate the needed sources.

We'll create follow-up issues as we find relevant to-do's from the error messages.

Previous proposal ### Proposal
  1. Show error state in group cluster pipelines page when on a project that did not create corresponding namespace/svc account

image

What does success look like, and how can we measure that?

Increased feature usage, measured by existing cluster metrics

Links / references

Edited by 🤖 GitLab Bot 🤖