You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error during terragrunt run-all apply: "Error: karpenter/private failed to fetch resource from kubernetes: the server could not find the requested resource" #365
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I am running the latest version
I checked the documentation and found no answer
I checked to make sure that this issue has not already been filed
Expected Behavior
Create all resources that were described in the code
Current Behavior
Running command terragrunt apply in directory karpenter finished with error.
Failure Information (for bugs)
When running terragrunt apply, I encountered the following error during the execution of the kubectl_manifest resource.
kubectl_manifest.ec2nodeclass_public[0]: Creating...
kubectl_manifest.ec2nodeclass_private[0]: Creating...
╷
│ Error: karpenter/private failed to fetch resource from kubernetes: the server could not find the requested resource
│
│ with kubectl_manifest.ec2nodeclass_private[0],
│ on main.tf line 63, in resource "kubectl_manifest" "ec2nodeclass_private":
│ 63: resource "kubectl_manifest" "ec2nodeclass_private" {
│
╵
╷
│ Error: karpenter/public failed to fetch resource from kubernetes: the server could not find the requested resource
│
│ with kubectl_manifest.ec2nodeclass_public[0],
│ on main.tf line 95, in resource "kubectl_manifest" "ec2nodeclass_public":
│ 95: resource "kubectl_manifest" "ec2nodeclass_public" {
Steps to Reproduce
step 1 - clone code to local computer
step 2 - prepare infrastructure by deploying VPC, EKS cluster