Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
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
- step 3 - deploy karpenter with current settings