This repository provides step-by-step guides for exposing the API server of a hosted cluster in a Hosted Control Planes (HCP) environment. In HCP, the control plane runs on a management cluster, so the hosted cluster's API server must be made reachable to external clients.
Two approaches are covered. Start with Part 1 to understand the architecture and decide which strategy fits your environment, then follow the corresponding guide.
- Introduction -- What HCP is, how the API server exposure works, and which approach to choose.
- NodePort + External Load Balancer -- Expose the API server via a NodePort service and an external HAProxy load balancer.
- MetalLB LoadBalancer in BGP Mode -- Expose the API server via a MetalLB LoadBalancer service with BGP routing.
Disclaimer: The content in this repository reflects my personal experience and understanding of Hosted Control Planes. It is not endorsed by, affiliated with, or representative of Red Hat's official documentation or supported configurations. The procedures presented here are intentionally simplified to illustrate the core concepts; they should be treated as a starting point, not a production-ready blueprint. Every environment has unique requirements -- readers are encouraged to adapt and extend these guides to meet their specific needs. Always refer to the official Red Hat documentation for supported procedures and guidance.