Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to deploy a 1.28 EKS Cluster #9

Open
htims1989 opened this issue Dec 19, 2023 · 1 comment
Open

Unable to deploy a 1.28 EKS Cluster #9

htims1989 opened this issue Dec 19, 2023 · 1 comment

Comments

@htims1989
Copy link

Trying to create an EKS 1.28 (and likely 1.27) cluster fails with:

module.eks_blueprints_kubernetes_addon_kong.kubectl_manifest.secretstore: Creating...

╷
│ Error: kong/kong-secretstore failed to fetch resource from kubernetes: the server could not find the requested resource
│ 
│   with module.eks_blueprints_kubernetes_addon_kong.kubectl_manifest.secretstore,
│   on .terraform/modules/eks_blueprints_kubernetes_addon_kong/main.tf line 111, in resource "kubectl_manifest" "secretstore":
│  111: resource "kubectl_manifest" "secretstore" {
│ 
╵

It appears as though the gavinbunney/kubectl terraform provider is no longer supported as per:
gavinbunney/terraform-provider-kubectl#270

Switching to the alekc\kubectl provider after the initial failure allows the cluster deploy successfully, however you cannot deploy from scratch with the alekc provider because it times out trying to create the same resource (apologies I don't have the exact error and I need to move on from spinning up and tearing down clusters!). There appears to be an open enhancement to make the timeout configurable:
alekc/terraform-provider-kubectl#7

I don't think it matters too much, but I'm working on a combination of the konnect-kic & konnect-fargate examples from here i.e a Fargate based Cluster using KIC

@pteroctopus
Copy link

Have the same problem with EKS 1.28:


│ Error: eu-central-1b failed to fetch resource from kubernetes: the server could not find the requested resource

│ with module.eks_cluster.kubectl_manifest.eni_config["subnet-066b2ad828cd18df8"],
│ on .terraform/modules/eks_cluster/main.tf line 306, in resource "kubectl_manifest" "eni_config":
│ 306: resource "kubectl_manifest" "eni_config" {



│ Error: eu-central-1a failed to fetch resource from kubernetes: the server could not find the requested resource

│ with module.eks_cluster.kubectl_manifest.eni_config["subnet-0ff3cd31e408912d9"],
│ on .terraform/modules/eks_cluster/main.tf line 306, in resource "kubectl_manifest" "eni_config":
│ 306: resource "kubectl_manifest" "eni_config" {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants