Skip to content

Clarify actions performed by eksctl #1033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ Create an IAM role and associate it with a Kubernetes service account. You can u

=== Create and associate role (eksctl)

Version `{eksctl-min-version}` or later of the `eksctl` command line tool installed on your device or {aws} CloudShell. To install or update `eksctl`, see https://eksctl.io/installation[Installation] in the `eksctl` documentation.

Replace [.replaceable]`my-service-account` with the name of the Kubernetes service account that you want `eksctl` to create and associate with an IAM role. Replace [.replaceable]`default` with the namespace that you want `eksctl` to create the service account in. Replace [.replaceable]`my-cluster` with the name of your cluster. Replace [.replaceable]`my-role` with the name of the role that you want to associate the service account to. If it doesn't already exist, `eksctl` creates it for you. Replace [.replaceable]`111122223333` with your account ID and [.replaceable]`my-policy` with the name of an existing policy.
This `eksctl` command creates a Kubernetes service account in the specified namespace, creates an IAM role (if it doesn't exist) with the specified name, attaches an existing IAM policy ARN to the role, and annotates the service account with the IAM role ARN. Be sure to replace the sample placeholder values in this command with your specific values. To install or update `eksctl`, see https://eksctl.io/installation[Installation] in the `eksctl` documentation.

[source,bash,subs="verbatim,attributes"]
----
Expand Down