Terraformer Kubernetes finds deployments but gets connection refused #1402
siegelpeter
started this conversation in
General
Replies: 1 comment
-
I did lot google search, finally find the answer. We need KUBE_CONFIG_PATH env, the config_path in .tf file not work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I trying to use terraformer to import all my kubernetes deployments.
It seems to be able to find my deployments allright but it cannot access them.
2022/08/02 22:54:23 Get "http://localhost/apis/apps/v1/namespaces/ingress-nginx/deployments/ingress-nginx-nginx-ingress-controller": dial tcp 127.0.0.1:80: connect: connection
refused
as this is an aks cluster it should try the server hostname from the kubeconfig.
This is my provider config.
Can somebody point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions