adyanth/cloudflare-operator
소개
(HTTP/TCP/UDP*) Service 리소스에 대한 Cloudflare Tunnel과 DNS 레코드를 생성하고 관리하는 Kubernetes Operator
시스템 및 인프라측정된 스타 증가
- in 24h
- -1
- in 7 days
- 0
- in 15 days
- +3
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCloudflare Operator
A Kubernetes Operator to create and manage Cloudflare Tunnels and DNS records
for (HTTP/TCP/UDP*) Service Resources
Getting Started Guide »
Report Bug
·
Request Feature
NOTE: This project is currently in Alpha
UDP*: UDP support for Cloudflare Tunnels is in Early Access
Motivation
The Cloudflare Tunnels guide for deployment on Kubernetes provides a manifest which is very bare bones and does not hook into Kubernetes in any meaningful way. The operator started out as a hobby project of mine to deploy applications in my home lab and expose them to the internet via Cloudflare Tunnels without doing a lot of manual work every time a new application is deployed.
Overview
The Cloudflare Operator aims to provide a new way of dynamically deploying the cloudflared daemon on Kubernetes. Scaffolded and built using operator-sdk. Once deployed, this operator provides the following:
- Ability to create new and use existing Tunnels for Cloudflare for Teams using Custom Resources (CR/CRD) which will:
- Accept a Secret for Cloudflare API Tokens and Keys
- Run a scaled (configurable) Deployment of
cloudflared - Manage a ConfigMap for the above Deployment
- Have Cluster and Namespace scoped Tunnels
- A TunnelBinding controller which does the following:
- Update the
cloudflaredConfigMap to include the new Services to be served under a given Tunnel - Restart the
cloudflaredDeployment to make the configuration change take effect - Add a DNS entry in Cloudflare for the specified domain to be a proxied CNAME to the referenced tunnel
- Reverse the above when the TunnelBinding is deleted using Finalizers
- Update the
Bird's eye view
Here is how the operator and the Tunnel Resource fit into your deployment.

There is more detailed information on this architecture and the thought process behind it in my blog post.
NOTE: This is NOT an official operator provided/backed by Cloudflare Inc. It utilizes their v4 API and their
cloudflaredto automate setting up of tunnels on Kubernetes.
관련 프로젝트 살펴보기
불러오는 중…