Use Cloudflare Tunnels with Kubernetes client-go plugin
Hello,
I followed this tutorial to get kubectl working from my machine to a Kubernetes pod via a tunnel and an Access application:
https://developers.cloudflare.com/cloudflare-one/tutorials/tunnel-kubectl/
However, when I run kubectl get pods, Cloudflare sends me to the login page even though I have a valid token (I tested the token). From what I understand, kubectl is making the following call:
(I’m using a real domain), but it never provides the token at any point!
Could you help me?
Thanks!
Cloudflare Docs
Use Cloudflare Tunnels with Kubernetes client-go plugin · Cloudflar...
This tutorial explains how to use Cloudflare Tunnels with Kubernetes client-go credential plugins for authentication. By following these steps, you can securely access your Kubernetes cluster through a Cloudflare Tunnel using the kubectl command-line tool.
2 Replies
@Cyb3r-Jok3 Sorry to tag you, but do you have any idea for my issue or do you know someone at Cloudflare who could help me? 🙂
Thanks
I have not used cloudflared with kubectl sorry