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
e63099cf
Commit
e63099cf
authored
Jul 27, 2020
by
Amy Troschinetz
Committed by
Amy Qualls
Jul 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document IAM role ambiguity in EKS guide
parent
43afb39a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
7 deletions
+23
-7
changelogs/unreleased/doc-iam-role-ambiguity.yml
changelogs/unreleased/doc-iam-role-ambiguity.yml
+5
-0
doc/user/project/clusters/add_eks_clusters.md
doc/user/project/clusters/add_eks_clusters.md
+18
-7
No files found.
changelogs/unreleased/doc-iam-role-ambiguity.yml
0 → 100644
View file @
e63099cf
---
title
:
Adds clarifying documentation on EKS IAM roles
merge_request
:
37870
author
:
type
:
added
doc/user/project/clusters/add_eks_clusters.md
View file @
e63099cf
...
@@ -62,6 +62,11 @@ To create and add a new Kubernetes cluster to your project, group, or instance:
...
@@ -62,6 +62,11 @@ To create and add a new Kubernetes cluster to your project, group, or instance:
1.
Click
**Add Kubernetes cluster**
.
1.
Click
**Add Kubernetes cluster**
.
1.
Under the
**Create new cluster**
tab, click
**Amazon EKS**
. You will be provided with an
1.
Under the
**Create new cluster**
tab, click
**Amazon EKS**
. You will be provided with an
`Account ID`
and
`External ID`
to use in the next step.
`Account ID`
and
`External ID`
to use in the next step.
1.
In the
[
IAM Management Console
](
https://console.aws.amazon.com/iam/home
)
, create an EKS management IAM role.
To do so, follow the
[
Amazon EKS cluster IAM role
](
https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
)
instructions
to create a IAM role suitable for managing the AWS EKS cluster's resources on your behalf.
In addition to the policies that guide suggests, you must also include the
`AmazonEKSServicePolicy`
policy for this role in order for GitLab to manage the EKS cluster correctly.
1.
In the
[
IAM Management Console
](
https://console.aws.amazon.com/iam/home
)
, create an IAM role:
1.
In the
[
IAM Management Console
](
https://console.aws.amazon.com/iam/home
)
, create an IAM role:
1.
From the left panel, select
**Roles**
.
1.
From the left panel, select
**Roles**
.
1.
Click
**Create role**
.
1.
Click
**Create role**
.
...
@@ -137,9 +142,15 @@ To create and add a new Kubernetes cluster to your project, group, or instance:
...
@@ -137,9 +142,15 @@ To create and add a new Kubernetes cluster to your project, group, or instance:
-
**Kubernetes cluster name**
- The name you wish to give the cluster.
-
**Kubernetes cluster name**
- The name you wish to give the cluster.
-
**Environment scope**
- The
[
associated environment
](
index.md#setting-the-environment-scope-premium
)
to this cluster.
-
**Environment scope**
- The
[
associated environment
](
index.md#setting-the-environment-scope-premium
)
to this cluster.
-
**Kubernetes version**
- The Kubernetes version to use. Currently the only version supported is 1.14.
-
**Kubernetes version**
- The Kubernetes version to use. Currently the only version supported is 1.14.
-
**Role name**
- Select the
[
IAM role
](
https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
)
-
**Role name**
- Select the
**EKS IAM role**
you created earlier to allow Amazon EKS
to allow Amazon EKS and the Kubernetes control plane to manage AWS resources on your behalf. This IAM role is separate
and the Kubernetes control plane to manage AWS resources on your behalf.
to the IAM role created above, you will need to create it if it does not yet exist.
NOTE: **Note:**
This IAM role is _not_ the IAM role you created in the previous step. It should be
the one you created much earlier by following the
[Amazon EKS cluster IAM role](https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html)
guide.
-
**Region**
- The
[
region
](
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
)
-
**Region**
- The
[
region
](
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
)
in which the cluster will be created.
in which the cluster will be created.
-
**Key pair name**
- Select the
[
key pair
](
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
)
-
**Key pair name**
- Select the
[
key pair
](
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
)
...
@@ -194,10 +205,10 @@ If the `Cluster` resource failed with the error
...
@@ -194,10 +205,10 @@ If the `Cluster` resource failed with the error
the role specified in
**Role name**
is not configured correctly.
the role specified in
**Role name**
is not configured correctly.
NOTE:
**Note:**
NOTE:
**Note:**
This role should
not be the same as the one created above. If you don't have an
This role should
be the role you created by following the
existing
[
EKS cluster IAM role
](
https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
)
guide.
[
EKS cluster IAM role
](
https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
)
,
In addition to the policies that guide suggests, you must also include the
you must create one
.
`AmazonEKSServicePolicy`
policy for this role in order for GitLab to manage the EKS cluster correctly
.
## Existing EKS cluster
## Existing EKS cluster
...
...
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