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
7e0231f0
Commit
7e0231f0
authored
May 08, 2020
by
Amy Qualls
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tone, style, word-wrap changes for clusters page
Cleanup for the page to bring it closer to GitLab tone and style.
parent
30d9468a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
39 deletions
+33
-39
doc/user/group/clusters/index.md
doc/user/group/clusters/index.md
+33
-39
No files found.
doc/user/group/clusters/index.md
View file @
7e0231f0
...
@@ -6,8 +6,6 @@ type: reference
...
@@ -6,8 +6,6 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/34758) in GitLab 11.6.
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/34758) in GitLab 11.6.
## Overview
Similar to
[
project-level
](
../../project/clusters/index.md
)
and
Similar to
[
project-level
](
../../project/clusters/index.md
)
and
[
instance-level
](
../../instance/clusters/index.md
)
Kubernetes clusters,
[
instance-level
](
../../instance/clusters/index.md
)
Kubernetes clusters,
group-level Kubernetes clusters allow you to connect a Kubernetes cluster to
group-level Kubernetes clusters allow you to connect a Kubernetes cluster to
...
@@ -22,47 +20,43 @@ and troubleshooting applications for your group cluster, see
...
@@ -22,47 +20,43 @@ and troubleshooting applications for your group cluster, see
## RBAC compatibility
## RBAC compatibility
For each project under a group with a Kubernetes cluster, GitLab will
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/issues/29398) in GitLab 11.4.
create a restricted service account with
[
`edit`
> - [Project namespace restriction](https://gitlab.com/gitlab-org/gitlab-foss/issues/51716) was introduced in GitLab 11.5.
privileges
](
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
)
in the project namespace.
NOTE:
**Note:**
For each project under a group with a Kubernetes cluster, GitLab creates a restricted
RBAC support was introduced in
service account with
[
`edit` privileges
](
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
)
[
GitLab 11.4
](
https://gitlab.com/gitlab-org/gitlab-foss/issues/29398
)
, and
in the project namespace.
Project namespace restriction was introduced in
[
GitLab 11.5
](
https://gitlab.com/gitlab-org/gitlab-foss/issues/51716
)
.
## Cluster precedence
## Cluster precedence
GitLab will use the project's cluster before using any cluster belonging
If the project's cluster is available and not disabled, GitLab uses the
to the group containing the project if the project's cluster is available and not disabled.
project's cluster before using any cluster belonging to the group containing
the project.
In the case of sub-groups, GitLab
will use
the cluster of the closest ancestor group
In the case of sub-groups, GitLab
uses
the cluster of the closest ancestor group
to the project, provided the cluster is not disabled.
to the project, provided the cluster is not disabled.
## Multiple Kubernetes clusters **(PREMIUM)**
## Multiple Kubernetes clusters **(PREMIUM)**
With
GitLab Premium, you can associate more than one Kubernetes clusters to your
With
[
GitLab Premium
](
https://about.gitlab.com/pricing/premium/
)
, you can associate
group. That way you can have different clusters for different environments,
more than one Kubernetes cluster to your group, and maintain different clusters
like dev, staging, production, etc
.
for different environments, such as development, staging, and production
.
Add another cluster similar to the first one and make sure to
When adding another cluster,
[
set an environment scope
](
#environment-scopes-premium
)
t
hat will
[
set an environment scope
](
#environment-scopes-premium
)
t
o help
differentiate the new cluster from
the rest
.
differentiate the new cluster from
your other clusters
.
## GitLab-managed clusters
## GitLab-managed clusters
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22011) in GitLab 11.5.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22011) in GitLab 11.5.
> - Became [optional](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/26565) in GitLab 11.11.
> - Became [optional](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/26565) in GitLab 11.11.
You can choose to allow GitLab to manage your cluster for you. If
your cluster i
s
You can choose to allow GitLab to manage your cluster for you. If
GitLab manage
s
managed by GitLab
, resources for your projects will be automatically created. See the
your cluster
, resources for your projects will be automatically created. See the
[
Access controls
](
../../project/clusters/add_remove_clusters.md#access-controls
)
section for details on which resources will
[
Access controls
](
../../project/clusters/add_remove_clusters.md#access-controls
)
be created
.
section for details on which resources GitLab creates for you
.
For clusters not managed by GitLab, project-specific resources w
ill no
t be created
For clusters not managed by GitLab, project-specific resources w
on'
t be created
automatically. If you
a
re using
[
Auto DevOps
](
../../../topics/autodevops/index.md
)
automatically. If you
'
re using
[
Auto DevOps
](
../../../topics/autodevops/index.md
)
for deployments with a cluster not managed by GitLab, you must ensure:
for deployments with a cluster not managed by GitLab, you must ensure:
-
The project's deployment service account has permissions to deploy to
-
The project's deployment service account has permissions to deploy to
...
@@ -72,8 +66,8 @@ for deployments with a cluster not managed by GitLab, you must ensure:
...
@@ -72,8 +66,8 @@ for deployments with a cluster not managed by GitLab, you must ensure:
`KUBE_NAMESPACE`
directly is discouraged.
`KUBE_NAMESPACE`
directly is discouraged.
NOTE:
**Note:**
NOTE:
**Note:**
If you
[
install applications
](
#installing-applications
)
on your cluster, GitLab
will create
If you
[
install applications
](
#installing-applications
)
on your cluster, GitLab
creates
the resources required to run the
se even if you have chosen
to manage your own cluster.
the resources required to run the
m even if you choose
to manage your own cluster.
### Clearing the cluster cache
### Clearing the cluster cache
...
@@ -86,7 +80,8 @@ your cluster, which can cause deployment jobs to fail.
...
@@ -86,7 +80,8 @@ your cluster, which can cause deployment jobs to fail.
To clear the cache:
To clear the cache:
1.
Navigate to your group’s
**Kubernetes**
page, and select your cluster.
1.
Navigate to your group’s
**{cloud-gear}**
**Kubernetes**
page,
and select your cluster.
1.
Expand the
**Advanced settings**
section.
1.
Expand the
**Advanced settings**
section.
1.
Click
**Clear cluster cache**
.
1.
Click
**Clear cluster cache**
.
...
@@ -110,12 +105,12 @@ them with an environment scope. The environment scope associates clusters with
...
@@ -110,12 +105,12 @@ them with an environment scope. The environment scope associates clusters with
work.
work.
While evaluating which environment matches the environment scope of a
While evaluating which environment matches the environment scope of a
cluster,
[
cluster precedence
](
#cluster-precedence
)
will take
cluster,
[
cluster precedence
](
#cluster-precedence
)
takes
effect. The cluster at the project level
will take
precedence, followed
effect. The cluster at the project level
takes
precedence, followed
by the closest ancestor group, followed by that groups' parent and so
by the closest ancestor group, followed by that groups' parent and so
on.
on.
For example,
let's say we have
the following Kubernetes clusters:
For example,
if your project has
the following Kubernetes clusters:
| Cluster | Environment scope | Where |
| Cluster | Environment scope | Where |
| ---------- | ------------------- | ----------|
| ---------- | ------------------- | ----------|
...
@@ -151,11 +146,11 @@ deploy to production:
...
@@ -151,11 +146,11 @@ deploy to production:
url
:
https://example.com/
url
:
https://example.com/
```
```
The result
will then be
:
The result
is
:
-
The Project cluster
will be
used for the
`test`
job.
-
The Project cluster
is
used for the
`test`
job.
-
The Staging cluster
will be
used for the
`deploy to staging`
job.
-
The Staging cluster
is
used for the
`deploy to staging`
job.
-
The Production cluster
will be
used for the
`deploy to production`
job.
-
The Production cluster
is
used for the
`deploy to production`
job.
## Cluster environments **(PREMIUM)**
## Cluster environments **(PREMIUM)**
...
@@ -166,8 +161,7 @@ are deployed to the Kubernetes cluster, see the documentation for
...
@@ -166,8 +161,7 @@ are deployed to the Kubernetes cluster, see the documentation for
## Security of Runners
## Security of Runners
For important information about securely configuring GitLab Runners, see
For important information about securely configuring GitLab Runners, see
[
Security of
[
Security of Runners
](
../../project/clusters/add_remove_clusters.md#security-of-gitlab-runners
)
Runners
](
../../project/clusters/add_remove_clusters.md#security-of-gitlab-runners
)
documentation for project-level clusters.
documentation for project-level clusters.
## More information
## More information
...
...
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