Skip to content
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

Fix links in troubleshooting.adoc #820

Closed
wants to merge 1 commit into from
Closed
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
15 changes: 9 additions & 6 deletions latest/ug/troubleshooting/troubleshooting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
:info_abstract: This chapter covers some common errors that you may see while using Amazon EKS and how \
to work around them.


include::../attributes.txt[]

[abstract]
Expand All @@ -27,6 +28,7 @@

For other troubleshooting information, see https://repost.aws/tags/knowledge-center/TA4IvCeWI1TE66q4jEj4Z9zg/amazon-elastic-kubernetes-service[Knowledge Center content about Amazon Elastic Kubernetes Service] on _{aws} re:Post_.


[[ice,ice.title]]
== Insufficient capacity

Expand All @@ -36,7 +38,8 @@

Retry creating your cluster with subnets in your cluster VPC that are hosted in the Availability Zones returned by this error message.

There are Availability Zones that a cluster can't reside in. Compare the Availability Zones that your subnets are in with the list of Availability Zones in the <<network-requirements-subnets,Subnet requirements and considerations>>.
There are Availability Zones that a cluster can't reside in. Compare the Availability Zones that your subnets are in with the list of Availability Zones in the link:eks/latest/userguide/network-reqs.html#network-requirements-subnets[Subnet requirements and considerations,type="documentation"].

Check notice on line 41 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L41

[RedHat.Contractions] Avoid contractions. Use ''cannot'' rather than 'can't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''cannot'' rather than 'can't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 41, "column": 45}}}, "severity": "INFO"}


[[worker-node-fail,worker-node-fail.title]]
== Nodes fail to join cluster
Expand All @@ -45,9 +48,9 @@



* If the nodes are managed nodes, Amazon EKS adds entries to the `aws-auth` `ConfigMap` when you create the node group. If the entry was removed or modified, then you need to re-add it. For more information, enter `eksctl create iamidentitymapping --help` in your terminal. You can view your current `aws-auth` `ConfigMap` entries by replacing [.replaceable]`my-cluster` in the following command with the name of your cluster and then running the modified command: ``eksctl get iamidentitymapping --cluster [.replaceable]`my-cluster```. The ARN of the role that you specify can't include a link:IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names[path,type="documentation"] other than `/`. For example, if the name of your role is `development/apps/my-role`, you'd need to change it to `my-role` when specifying the ARN for the role. Make sure that you specify the node IAM role ARN (not the instance profile ARN).
* If the nodes are managed nodes, Amazon EKS adds entries to the `aws-auth` `ConfigMap` when you create the node group. If the entry was removed or modified, then you need to re-add it. For more information, enter `eksctl create iamidentitymapping --help` in your terminal. You can view your current `aws-auth` `ConfigMap` entries by replacing [.replaceable]`my-cluster` in the following command with the name of your cluster and then running the modified command: `eksctl get iamidentitymapping --cluster [.replaceable]``my-cluster```. The ARN of the role that you specify can't include a link:IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names[path,type="documentation"] other than `/`. For example, if the name of your role is `development/apps/my-role`, you'd need to change it to `my-role` when specifying the ARN for the role. Make sure that you specify the node IAM role ARN (not the instance profile ARN).

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.PassiveVoice] 'are managed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are managed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 16}}}, "severity": "INFO"}

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.PassiveVoice] 'was removed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'was removed' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 134}}}, "severity": "INFO"}

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 542}}}, "severity": "INFO"}

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.Contractions] Avoid contractions. Use ''cannot'' rather than 'can't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''cannot'' rather than 'can't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 575}}}, "severity": "INFO"}

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 841}}}, "severity": "INFO"}

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 904}}}, "severity": "INFO"}

Check notice on line 51 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L51

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 51, "column": 934}}}, "severity": "INFO"}
+
If the nodes are self-managed, and you haven't created <<access-entries,access entries>> for the ARN of the node's IAM role, then run the same commands listed for managed nodes. If you have created an access entry for the ARN for your node IAM role, then it might not be configured properly in the access entry. Make sure that the node IAM role ARN (not the instance profile ARN) is specified as the principal ARN in your `aws-auth` `ConfigMap` entry or access entry. For more information about access entries, see <<access-entries>>.
If the nodes are self-managed, and you haven't created an link:eks/latest/userguide/access-entries.html[access entry,type="documentation"] for the ARN of the node's IAM role, then run the same commands listed for managed nodes. If you have created an access entry for the ARN for your node IAM role, then it might not be configured properly in the access entry. Make sure that the node IAM role ARN (not the instance profile ARN) is specified as the principal ARN in your `aws-auth` `ConfigMap` entry or access entry. For more information about access entries, see <<access-entries>>.

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.Contractions] Avoid contractions. Use ''have not'' rather than 'haven't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''have not'' rather than 'haven't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 40}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 148}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 273}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.PassiveVoice] 'be configured' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'be configured' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 319}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 396}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 426}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.PassiveVoice] 'is specified' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'is specified' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 431}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.
Raw output
{"message": "[RedHat.Definitions] Define acronyms and abbreviations (such as 'ARN') on first occurrence if they're likely to be unfamiliar.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 461}}}, "severity": "INFO"}

Check notice on line 53 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L53

[RedHat.UserReplacedValues] Separate words by underscores in user-replaced values.
Raw output
{"message": "[RedHat.UserReplacedValues] Separate words by underscores in user-replaced values.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 53, "column": 567}}}, "severity": "INFO"}
* The *ClusterName* in your node {aws} CloudFormation template doesn't exactly match the name of the cluster you want your nodes to join. Passing an incorrect value to this field results in an incorrect configuration of the node's `/var/lib/kubelet/kubeconfig` file, and the nodes will not join the cluster.
* The node is not tagged as being _owned_ by the cluster. Your nodes must have the following tag applied to them, where [.replaceable]`my-cluster` is replaced with the name of your cluster.
+
Expand Down Expand Up @@ -83,8 +86,8 @@


* The cluster was created with credentials for one IAM principal and `kubectl` is configured to use credentials for a different IAM principal. To resolve this, update your `kube config` file to use the credentials that created the cluster. For more information, see <<create-kubeconfig>>.
* If your cluster meets the minimum platform requirements in the prerequisites section of <<access-entries,Grant IAM users access to Kubernetes with EKS access entries>>, an access entry doesn't exist with your IAM principal. If it exists, it doesn't have the necessary [.noloc]`Kubernetes` group names defined for it, or doesn't have the proper access policy associated to it. For more information, see <<access-entries>>.
* If your cluster doesn't meet the minimum platform requirements in <<access-entries,Grant IAM users access to Kubernetes with EKS access entries>>, an entry with your IAM principal doesn't exist in the `aws-auth` `ConfigMap`. If it exists, it's not mapped to [.noloc]`Kubernetes` group names that are bound to a [.noloc]`Kubernetes` `Role` or `ClusterRole` with the necessary permissions. For more information about [.noloc]`Kubernetes` role-based authorization (RBAC) objects, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/[Using RBAC authorization] in the [.noloc]`Kubernetes` documentation. You can view your current `aws-auth` `ConfigMap` entries by replacing [.replaceable]`my-cluster` in the following command with the name of your cluster and then running the modified command: ``eksctl get iamidentitymapping --cluster [.replaceable]`my-cluster```. If an entry for with the ARN of your IAM principal isn't in the `ConfigMap`, enter `eksctl create iamidentitymapping --help` in your terminal to learn how to create one.
* If your cluster meets the minimum platform requirements in the prerequisites section of link:eks/latest/access-entries.html[access entries,type="documentation"], an access entry doesn't exist with your IAM principal. If it exists, it doesn't have the necessary [.noloc]`Kubernetes` group names defined for it, or doesn't have the proper access policy associated to it. For more information, see <<access-entries>>.

Check notice on line 89 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L89

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 89, "column": 181}}}, "severity": "INFO"}

Check notice on line 89 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L89

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 89, "column": 237}}}, "severity": "INFO"}

Check notice on line 89 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L89

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 89, "column": 316}}}, "severity": "INFO"}

Check notice on line 89 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L89

[RedHat.UserReplacedValues] Separate words by underscores in user-replaced values.
Raw output
{"message": "[RedHat.UserReplacedValues] Separate words by underscores in user-replaced values.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 89, "column": 399}}}, "severity": "INFO"}
* If your cluster doesn't meet the minimum platform requirements in link:eks/latest/access-entries.html[access entries,type="documentation"], an entry with your IAM principal doesn't exist in the `aws-auth` `ConfigMap`. If it exists, it's not mapped to [.noloc]`Kubernetes` group names that are bound to a [.noloc]`Kubernetes` `Role` or `ClusterRole` with the necessary permissions. For more information about [.noloc]`Kubernetes` role-based authorization (RBAC) objects, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/[Using RBAC authorization] in the [.noloc]`Kubernetes` documentation. You can view your current `aws-auth` `ConfigMap` entries by replacing [.replaceable]`my-cluster` in the following command with the name of your cluster and then running the modified command: `eksctl get iamidentitymapping --cluster [.replaceable]``my-cluster```. If an entry for with the ARN of your IAM principal isn't in the `ConfigMap`, enter `eksctl create iamidentitymapping --help` in your terminal to learn how to create one.

Check notice on line 90 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L90

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 90, "column": 19}}}, "severity": "INFO"}

Check notice on line 90 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L90

[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''does not'' rather than 'doesn't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 90, "column": 176}}}, "severity": "INFO"}

Check notice on line 90 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L90

[RedHat.Contractions] Avoid contractions. Use ''it is'' rather than 'it's.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''it is'' rather than 'it's.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 90, "column": 235}}}, "severity": "INFO"}

Check notice on line 90 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L90

[RedHat.PassiveVoice] 'are bound' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.
Raw output
{"message": "[RedHat.PassiveVoice] 'are bound' is passive voice. In general, use active voice. Consult the style guide for acceptable use of passive voice.", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 90, "column": 292}}}, "severity": "INFO"}

Check notice on line 90 in latest/ug/troubleshooting/troubleshooting.adoc

View workflow job for this annotation

GitHub Actions / vale

[vale] latest/ug/troubleshooting/troubleshooting.adoc#L90

[RedHat.Contractions] Avoid contractions. Use ''is not'' rather than 'isn't.'
Raw output
{"message": "[RedHat.Contractions] Avoid contractions. Use ''is not'' rather than 'isn't.'", "location": {"path": "latest/ug/troubleshooting/troubleshooting.adoc", "range": {"start": {"line": 90, "column": 922}}}, "severity": "INFO"}

If you install and configure the {aws} CLI, you can configure the IAM credentials that you use. For more information, see link:cli/latest/userguide/cli-chap-getting-started.html[Configuring the {aws} CLI,type="documentation"] in the _{aws} Command Line Interface User Guide_. You can also configure `kubectl` to use an IAM role, if you assume an IAM role to access [.noloc]`Kubernetes` objects on your cluster. For more information, see <<create-kubeconfig>>.

Expand Down Expand Up @@ -720,4 +723,4 @@
|===


📝 https://github.com/search?q=repo:awsdocs/amazon-eks-user-guide+&#91;&#91;troubleshooting,&type=code[Edit this page on GitHub]
📝 https://github.com/search?q=repo:awsdocs/amazon-eks-user-guide+&#91;&#91;troubleshooting,&type=code[Edit this page on GitHub]
Loading