Comments (5)
This is basically the same issue as
#2
The problem is that the nodes are correctly created but they are unable to authenticate to the k8s cluster and therefore do not join. A solution is to uncomment the output "config_map_aws_auth" section of the outputs.tf file and then run terraform apply again.
from learn-terraform-provision-eks-cluster.
I have the same issue too.
$ kubectl get nodes --all-namespaces
No resources found
$ kubectl get event -n kube-system
LAST SEEN TYPE REASON OBJECT MESSAGE
53s Warning FailedScheduling pod/coredns-7b8675689d-q62mh no nodes available to schedule pods
53s Warning FailedScheduling pod/coredns-7b8675689d-tgkd6 no nodes available to schedule pods
53s Warning FailedScheduling pod/metrics-server-7578984995-hzrhh no nodes available to schedule pods
8m46s Normal SuccessfulCreate replicaset/metrics-server-7578984995 Created pod: metrics-server-7578984995-hzrhh
8m46s Normal ScalingReplicaSet deployment/metrics-server Scaled up replica set metrics-server-7578984995 to 1
from learn-terraform-provision-eks-cluster.
This is great advice. Thank you.
Can i ask, why is it commented out?
from learn-terraform-provision-eks-cluster.
This has been addressed in #2 and a change has been merged into master, thanks for flagging this
from learn-terraform-provision-eks-cluster.
The issue still persists with eks module 18.0.4. No nodes are initiating. It is working fine with 17.x.
from learn-terraform-provision-eks-cluster.
Related Issues (20)
- Local Zones can cause terraform apply to fail HOT 1
- AWS EKS managed security group doubt HOT 1
- Amazon EBS CSI Driver status Degraded
- Organisation error when doing terraform init HOT 1
- Unsuported argument subnets: adapt sample code to module eks version >= 18.0 HOT 2
- Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached. HOT 2
- EKS Module does not allow clean destroy (dependency violation) HOT 9
- 'NoneType' object is not iterable while trying to update-kubeconfig HOT 2
- Error: Query Returned No Results (aws_ami) HOT 3
- init fails with "...hashicorp/aws: the previously-selected version 4.15.1 is no longer available" HOT 1
- kubeconfig is not available HOT 2
- Invalid principal in policy HOT 2
- Library needs updating
- pre_bootstrap_user_data in eks_managed_node_groups is unusable for BOTTLEROCKET and hence containerd cannot be used
- SyncLoadBalancerFailed: Error syncing load balancer: failed to ensure load balancer: Multiple tagged security groups found for instance
- node pools failing to join cluster HOT 1
- `terraform init` broken HOT 1
- Pods running on different nodes but same namespace are not able to reach each other HOT 1
- Why do you use `aws_eks_addon` instead of the eks module parameter? HOT 3
- Error: error reading IAM policy (arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy) HOT 1
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 learn-terraform-provision-eks-cluster.