diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-28 08:39:13 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-28 08:39:13 +0000 |
commit | d9026d0ffa0ea1f2635c7359ea2bacc97d7967fd (patch) | |
tree | b9bbb1b119798cd0aed20b396b5212984c845906 | |
parent | d69f9af7cf4d208a87379a211ff63fc7f1e5fce4 (diff) | |
parent | e05334b926cc95d22d481be425a5535641794bbb (diff) | |
download | gitlab-ce-d9026d0ffa0ea1f2635c7359ea2bacc97d7967fd.tar.gz |
Merge branch 'docs/edit-cluster-admin-note-text' into 'master'
Edit Cluster Admin note text
Closes #63558
See merge request gitlab-org/gitlab-ce!29965
-rw-r--r-- | doc/user/project/clusters/index.md | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/doc/user/project/clusters/index.md b/doc/user/project/clusters/index.md index 97d2dfc0f7e..c6ee168bad0 100644 --- a/doc/user/project/clusters/index.md +++ b/doc/user/project/clusters/index.md @@ -533,22 +533,20 @@ This job failed because the necessary resources were not successfully created. To find the cause of this error when creating a namespace and service account, check the [logs](../../../administration/logs.md#kuberneteslog). -NOTE: **NOTE:** -As of GitLab 12.1 we require [`cluster-admin`](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles) -tokens for all project level clusters unless you unselect the -[GitLab-managed cluster](#gitlab-managed-clusters) option. If you -want to manage namespaces and service accounts yourself and don't -want to provide a `cluster-admin` token to GitLab you must unselect this -option or you will get the above error. - -Common reasons for failure include: +Reasons for failure include: -- The token you gave GitLab did not have [`cluster-admin`](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles) +- The token you gave GitLab does not have [`cluster-admin`](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles) privileges required by GitLab. - Missing `KUBECONFIG` or `KUBE_TOKEN` variables. To be passed to your job, they must have a matching [`environment:name`](../../../ci/environments.md#defining-environments). If your job has no `environment:name` set, it will not be passed the Kubernetes credentials. +NOTE: **NOTE:** +Project-level clusters upgraded from GitLab 12.0 or older may be configured +in a way that causes this error. Ensure you deselect the +[GitLab-managed cluster](#gitlab-managed-clusters) option if you want to manage +namespaces and service accounts yourself. + ## Monitoring your Kubernetes cluster **[ULTIMATE]** > [Introduced](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4701) in [GitLab Ultimate][ee] 10.6. |