You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vladimirvivien! It really helped :) thank you so much (y)
Now, I have one more problem! How can i use this binary from inside a container or a pod?
I am facing below issue:
./podlist tree
2021/01/26 10:42:39 stat /home/vault/.kube/config: no such file or directory
[vault@vaultagent-0 tmp]$ vi /home/vault/.kube/config:
@sanjiths the code in this example is written to be used outside of a cluster.
But it's easy to change your code to make it work from within a cluster.
Checkout the link below (from the client-go project), it shows what to change to fix your issue:
I am trying to build a binary for https://github.com/vladimirvivien/k8s-client-examples/blob/master/go/podlist/maing.go
I have imported the required packages and facing the below issue:
Could you pls tell me how to proceed?
The text was updated successfully, but these errors were encountered: