Skip to content

Cloudflare OperatorKubernetes Tunnels & DNS, Automated

A Kubernetes Operator to create and manage Cloudflare Tunnels and DNS records for HTTP/TCP/UDP Service Resources.

Cloudflare Operator Logo

WARNING

This project is currently in Alpha.

Overview

The Cloudflare Operator provides a Kubernetes-native way of dynamically deploying the cloudflared daemon. Built using operator-sdk, once deployed it provides:

  • Tunnel/ClusterTunnel CRDs - Accept a Secret for Cloudflare API Tokens, run a scaled Deployment of cloudflared, and manage ConfigMaps automatically
  • TunnelBinding controller - Updates cloudflared configuration, restarts deployments, and manages DNS entries with proper cleanup via Finalizers
  • AccessTunnel CRD - Enables cross-cluster service connectivity through Cloudflare's TCP Access

Architecture

Operator Architecture

INFO

This is NOT an official operator provided by Cloudflare Inc. It utilizes their v4 API and their cloudflared to automate setting up of tunnels on Kubernetes.

Released under the Apache-2.0 License.