🏠 Cloudflare Stream Kubernetes Failover
Cloudflare Stream runs a small Kubernetes cluster for OTFE failover in Google Kubernetes Engine (GKE). In case we have failures in our core data center or something is affecting our ability to encode segments, we can failover to GKE to remain operational.
This document walks through the end-to-end setup explaining how the cluster is configured, network topology, how to initialize the cluster from scratch and how to debug.
Quick Start
- For a more detailed explanation, see Getting Started.
- If you need help debugging, view the Debugging section.
- To scale up and adjust the compute resources for the cluster, see Cluster Management.
make init- Initialize Terraform statemake [use-staging,use-prod]- Select proper environmentmake [plan,apply]- Verify cluster provisioning for GKE & apply itmake bootstrap- Bootstrap the clustermake login-cluster- Login to Kubernetes cluster
Kubernetes namespaces
We use the following namespace conventions for the respective environments configured.
otfe-stagingotfe-productioningress