Comments (2)
Hello matschaffer-roblox 👋 Thank you for opening an issue in eksctl
project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl
on our website
from eksctl.
Removing the /eks/
path from the role seems to be a viable workaround (arn:aws:iam::ACCOUNT:role/ROLE_NAME
)
AWS support provided some steps for their reproduction of the issue:
Step 1 => I created a trust policy with the below mentioned content:
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["sts:AssumeRole"],
"Principal": {
"Service": ["ec2.amazonaws.com"]
}
}
]
}
Step 2 => I created a role with path using the below mentioned command:
aws iam create-role --role-name test-node-role --assume-role-policy-document file://assume-role-doc.json --path /eks/
Step 3 => I created an EKS cluster and nodegroup with the below mentioned config file "eksctl create cluster -f test.yaml" :
apiVersion: [eksctl.io/v1alpha5](http://eksctl.io/v1alpha5)
kind: ClusterConfig
metadata:
name: my-cluster2
region: ap-south-1
version: "1.29"
accessConfig:
bootstrapClusterCreatorAdminPermissions: true
authenticationMode: API
managedNodeGroups:
- name: ng-2
instanceType: t3.large
desiredCapacity: 2
volumeSize: 20
iam:
instanceRoleARN: "arn:aws:iam::55555555555:role/eks/test-node-role"
Step 4 => The nodegroup that craeted shows IAM role as arn:aws:iam::55555555555:role/test-node-role" on the EKS console. The access entry that is created automatically has the complete path "/eks/" included but it is stripped from the node group. The CreateNodegroup API call and Cloudformation stack show below mentioned configuration for node role passed:
CFN:
"NodeRole": "arn:aws:iam::55555555555:role/test-node-role",
"NodegroupName": "ng-2",
Cloudtrail:
"nodeRole": "arn:aws:iam::55555555555:role/test-node-role",
"name": "my-cluster2",
So, eksctl seems to be stripping the path from the node role which is eventually leading to health issues on the node with the error "access entry not found in cluster".
from eksctl.
Related Issues (20)
- AWS SDK writes mfa token challenge to STDOUT HOT 1
- Latest version of AWS SDK breaks unit tests
- [Bug] IAM permissions are not required for "vpc-cni" addon; any IRSA configuration or pod identity associations will be ignored HOT 1
- [Bug] Regression: eksctl 0.183.0 fails to create managed nodegroup in AWS China HOT 4
- [Feedback] Config File Schema - /usage/schema/ HOT 2
- [Bug] could not create cluster provider from options: managedNodeGroups[0].overrideBootstrapCommand - 0.183.0 HOT 3
- Fargate and IPv6 integration tests fail on `main`
- [Bug] Default addons update version is different with listed latest version. HOT 1
- [Feature] Support upgrading managed Ubuntu nodegroups
- [Help] Cant install eksctl on macOS Monterey HOT 1
- AWS throttling errors are not retried
- Allow limiting the number of nodegroups created in parallel
- Disable default retry rate-limiting behavior in AWS SDK
- [Feature] publish eksctl snap on snapstore HOT 1
- [Bug] SIGSEGV when creating a cluster with custom AMI HOT 1
- [Bug] eksctl create (or update) iamserviceaccount does not work for an existing ServiceAccount HOT 1
- [Bug] Trouble installing cilium Network on the EKS CLUSTER without the addons HOT 1
- [Bug] Cluster creation on AWS Outpost reports failure due unknown OIDC issuer URL
- [Help] The ASG provisioned EC2s in the same AZ.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eksctl.