I did a search, but I think it is such a noob ques...
# kubernetes
g
I did a search, but I think it is such a noob question that no one has asked it before. I am following the getting started for the K8s on AWS. I have the pulumi up working and it spits out the kubeconfig as an output. How do I use that to say kubectl get pods? I tried below with no luck and it gives me an error of "file name too long"
Copy code
kubectl get pods --kubeconfig $(pulumi stack output kubeconfig)
d
Try with
<(pulumi...)
instead, so that the output is loaded into a file
b
Copy code
pulumi stack output kubeconfig > kubeconfig.json
export KUBECONFIG=kubeconfig.json
kubectl get pods