karpenter-provider-aws
karpenter-provider-aws copied to clipboard
fix: Classify failures
Fixes #7837
Description
How was this change tested?
I actually ran it and checked, and when describing the EC2NodeClass, the output is as follows.
Message: Cannot exceed quota for InstanceProfilesPerAccount: 1000
Observed Generation: 1
Reason: LimitExceeded
Status: False
Type: InstanceProfileReady
Last Transition Time: 2025-03-15T02:05:16Z
instance profile
Message: User: arn:aws:sts::xxxxx:assumed-role/xxxxx/xxxxx is not authorized to perform: iam:PassRole on resource: arn:aws:iam::xxxxx:role/xxxxx because no identity-based policy allows the iam:PassRole action
Observed Generation: 1
Reason: Unauthorized
Status: False
Type: InstanceProfileReady
Last Transition Time: 2025-03-15T02:31:41Z
subnet
Message: You are not authorized to perform this operation. User: arn:aws:sts::xxxxx:assumed-role/xxxxx/xxxxx is not authorized to perform: ec2:DescribeSubnets with an explicit deny in an identity-based policy
Observed Generation: 1
Reason: Unauthorized
Status: False
Type: SubnetsReady
Last Transition Time: 2025-03-15T04:09:35Z
security group
Message: You are not authorized to perform this operation. User: arn:aws:sts::xxxxx:assumed-role/xxxxx/xxxxx is not authorized to perform: ec2:DescribeSecurityGroups with an explicit deny in an identity-based policy
Observed Generation: 1
Reason: Unauthorized
Status: False
Type: SecurityGroupsReady
Last Transition Time: 2025-03-15T04:09:35Z
Does this change impact docs?
- [ ] Yes, PR includes docs updates
- [ ] Yes, issue opened: #
- [x] No
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Deploy Preview for karpenter-docs-prod canceled.
| Name | Link |
|---|---|
| Latest commit | 1dcd90b32507c781701022d5d577f23e5d2d1d40 |
| Latest deploy log | https://app.netlify.com/sites/karpenter-docs-prod/deploys/67f6696708b4910008e4fb00 |