Cloudflare · Security & Access
Cloudflare Tunnel into GCP Kubernetes
Access and a managed Tunnel connected to an origin-side cloudflared Deployment, with separate establishment and request flows. This diagram is written in ArchLex and passes Cloudflare provider checks.
Diagram and source
provider cloudflare
direction LR
domain: cloudflare.dns["internal.example.com"]
access-policy: cloudflare.access["Employee access policy"]
tunnel: cloudflare.tunnel["Application tunnel"]
gke-host: gcp.gke["GCP hosting context"]
cluster production {
namespace web {
connector: k8s.deployment["cloudflared"]
backend: k8s.service["Application Service"]
application: k8s.deployment["Application"]
connector -[proxies]->|HTTP to Service| backend
backend -[targets]-> application
}
}
domain ->|DNS record selects entry point| tunnel
access-policy -[authorizes]-> tunnel
connector -[connects]->|Outbound tunnel establishment| tunnel
tunnel -[proxies]->|Requests over established tunnel| connector
gke-host ->|Hosts connector workload; conceptual association| connectorWhat is in this diagram.
Resources
- internal.example.com DNS
- Employee access policy Access
- Application tunnel Tunnel
- GCP hosting context Google Kubernetes Engine
- cloudflared Deployment
- Application Service Service
- Application Deployment
Relationships
- cloudflared proxies Application Service
- Application Service targets Application
- internal.example.com connects Application tunnel
- Employee access policy authorizes Application tunnel
- cloudflared connects Application tunnel
- Application tunnel proxies cloudflared
- GCP hosting context connects cloudflared
Boundaries
- cluster production
- namespace web
Render it yourself.
Save the source as cloudflare-gcp-k8s-tunnel.arch and render it with the CLI, or ask your agent to adapt it through the ArchLex MCP server.
npx @archlex/cli render cloudflare-gcp-k8s-tunnel.arch --output cloudflare-gcp-k8s-tunnel.svgRelated examples.
- Kubernetes Namespace RBACRoleBinding granting a namespaced Role to an application ServiceAccount
- Cloudflare Workers & R2 ApplicationWorker entry point with DNS, WAF and response-cache capabilities, backed by R2
- Cloudflare Public Edge to AWSCloudflare DNS, load balancing and WAF capabilities forwarding HTTPS requests to an AWS ALB
- Cloudflare AWS/GCP Origin SteeringPreferred AWS and fallback GCP origin intent, without asserting verified health or steering policy