Skip to content

Error during terragrunt run-all apply: "Error: karpenter/private failed to fetch resource from kubernetes: the server could not find the requested resource" #365

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
3 tasks done
vb0om opened this issue Apr 30, 2025 · 0 comments

Comments

@vb0om
Copy link

vb0om commented Apr 30, 2025

Prerequisites

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

  1. step 1 - clone code to local computer
  2. step 2 - prepare infrastructure by deploying VPC, EKS cluster
  3. step 3 - deploy karpenter with current settings
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant