Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fe2657f2
Commit
fe2657f2
authored
Jun 28, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
8c0c260c
d9026d0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
doc/user/project/clusters/index.md
doc/user/project/clusters/index.md
+8
-10
No files found.
doc/user/project/clusters/index.md
View file @
fe2657f2
...
...
@@ -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 d
id
not have
[
`cluster-admin`
](
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
)
-
The token you gave GitLab d
oes
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment