Skip to content

Commit

Permalink
Add security page to docs (eksctl-io#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbeaumont authored Sep 11, 2020
1 parent 056da9e commit b439c76
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions userdocs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ nav:
- Usage:
- usage/creating-and-managing-clusters.md
- usage/managing-nodegroups.md
- usage/security.md
- usage/cluster-upgrade.md
- usage/autoscaling.md
- usage/custom-ami-support.md
Expand Down
19 changes: 19 additions & 0 deletions userdocs/src/usage/security.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Security

`eksctl` provides some options that can improve the security of your EKS cluster.

## `withOIDC`

Enable [`withOIDC`](/usage/schema/#iam-withOIDC) to automatically create an [IRSA](/usage/iamserviceaccounts/) for the amazon CNI plugin and
limit permissions granted to nodes in your cluster, instead granting the necessary permissions
only to the CNI service account. The background is described in [this AWS
documentation](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-cni-walkthrough.html).

## `disablePodIMDS`

For managed and unmanaged nodegroups, [`disablePodIMDS`](/usage/schema/#nodeGroups-disablePodIMDS) option is available prevents all
non host networking pods running in this nodegroup from making IMDS requests.

!!!note
This can not be used together with [`withAddonPolicies`](/usage/iam-policies/).

0 comments on commit b439c76

Please sign in to comment.