-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
no error when terraform apply, but get node "No resources found." #388
Comments
I use "worker_groups_launch_template_mixed" no work, but when i change to worker_group like example: then work. |
Hi @phuthinh2202, this is normally because either:
|
the different between "no work" with "worked", i just edit from "worker_groups_launch_template_mixed" to use "worker_groups" and about the result is same, include the aws-auth configmap was created. :D |
So it's resolved? |
yah, i used "worker_group" have no problem. I can access my eks cluster, but all worker have public ipv4, althrough i have set public_ip = false in "worker_group" object. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I have issues
no error appear when i enter "terraform apply", but when it done, i get view node, it say "no resources found".
I'm submitting a...
What is the current behavior?
`$ kubectl get all --all-namespaces=true
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system pod/coredns-6446cc57d9-ctntj 0/1 Pending 0 9m31s
kube-system pod/coredns-6446cc57d9-tnwl6 0/1 Pending 0 9m31s
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default service/kubernetes ClusterIP 172.20.0.1 443/TCP 9m41s
kube-system service/kube-dns ClusterIP 172.20.0.10 53/UDP,53/TCP 9m41s
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system daemonset.apps/aws-node 0 0 0 0 0 9m31s
kube-system daemonset.apps/kube-proxy 0 0 0 0 0 9m36s
NAMESPACE NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
kube-system deployment.apps/coredns 2 2 2 0 9m31s
NAMESPACE NAME DESIRED CURRENT READY AGE
kube-system replicaset.apps/coredns-6446cc57d9 2 2 0 9m32s
$ kubectl get all --all-namespaces=true
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system pod/coredns-6446cc57d9-ctntj 0/1 Pending 0 13m
kube-system pod/coredns-6446cc57d9-tnwl6 0/1 Pending 0 13m
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default service/kubernetes ClusterIP 172.20.0.1 443/TCP 13m
kube-system service/kube-dns ClusterIP 172.20.0.10 53/UDP,53/TCP 13m
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system daemonset.apps/aws-node 0 0 0 0 0 13m
kube-system daemonset.apps/kube-proxy 0 0 0 0 0 13m
NAMESPACE NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
kube-system deployment.apps/coredns 2 2 2 0 13m
NAMESPACE NAME DESIRED CURRENT READY AGE
kube-system replicaset.apps/coredns-6446cc57d9 2 2 0 13m
$ kubectl get configmaps
No resources found.
$ kubectl --namespace=kube-system get configmap
NAME DATA AGE
aws-auth 3 11m
coredns 1 17m
extension-apiserver-authentication 5 17m
kube-proxy 1 17m
kube-proxy-config 1 17m
$ kubectl get nodes
No resources found.`
If this is a bug, how to reproduce? Please include a code sample if relevant.
What's the expected behavior?
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details
Terraform v0.11.13
Any other relevant info
The text was updated successfully, but these errors were encountered: