Skip to content

[cloudflare-one/tutorials] Setup CF Tunnel inside Kubernetes cluster to access Kubernetes API #19902

@mangkoran

Description

@mangkoran

Proposed changes

Subject Matter

Setup CF Tunnel inside Kubernetes cluster to access Kubernetes API

Content Location

New document

Additional information

I would like to access k8s API of my local k8s through kubectl from the Internet. I thought CF Tunnel could accomplish this. However I'm still clueless regarding what are the things that need to be set up. I found Connect through Cloudflare Access using kubectl and Use Cloudflare Tunnels with Kubernetes client-go plugin however it seems both require CF Tunnel to run outside of k8s (although still on same host machine). I use Talos for my k8s cluster so there's no access to host OS, only k8s.

Related cloudflare/cloudflared#1388

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions