I think there might have been a regression on this issue
I get a very similar issue. I followed the example directly, and get the following result
Warning FailedScheduling 92s default-scheduler 0/2 nodes are available: 2 node(s) had untolerated taint {CriticalAddonsOnly: true}. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling.
The CoreDns pods run fine
[x] ✋ I have searched the open/closed issues and my issue is not listed.
⚠️ Note
Before you submit an issue, please perform the following first:
Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists
Versions
Module version [Required]: 20.29.0
Terraform version: OpenTofu v1.8.4
Provider version(s): hashicorp/aws v5.76.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Are you using workspaces?
No
Have you cleared the local cache (see Notice section above)?
Yes
Expected behavior
The pods are scheduled and running
Actual behavior
The example pods just stay pending
Terminal Output Screenshot(s)
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 92s default-scheduler 0/2 nodes are available: 2 node(s) had untolerated taint {CriticalAddonsOnly: true}. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling.
Description
I think there might have been a regression on this issue
I get a very similar issue. I followed the example directly, and get the following result
The CoreDns pods run fine
⚠️ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: 20.29.0
Terraform version: OpenTofu v1.8.4
Provider version(s): hashicorp/aws v5.76.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Are you using workspaces?
No
Have you cleared the local cache (see Notice section above)?
Yes
Expected behavior
The pods are scheduled and running
Actual behavior
The example pods just stay pending
Terminal Output Screenshot(s)
Additional context