Manages cloudflared replicas for an application on Kubernetes, ensuring replicas are always scheduled on the same nodes as the workloads.
The CRD can be found at yaml/cfdtunnels.cloudflared-operator.vrtx.sh.yaml. A sample Kustomize manifest is provided in yaml/kustomize, which makes the following assumptions:
- The operator will be installed in the
cfd-systemnamespace. - The operator will watch
CfdTunnels andEndpointSlices across the cluster. - The operator will create
DNSEndpoints in it's namespace (if using the External DNS integration).
You may also use the single file bundle.
- Creates locally managed tunnels using Cloudflare's API
- Deploys and continuously patches a
cloudflareddeployment for eachCfdTunnel, ensuring there's always a replica running on the same node.- This includes restarting to apply configuration changes.
- Optionally, uses External DNS's
DNSEndpointCRD to configure DNS record(s) for the tunnel.