Spring Cloud Gateway for Kubernetes – getting started
Let’s start by installing Spring Cloud Gateway for Kubernetes. There are two distinct parts to this product: the Kubernetes Operator and the deployed gateways.
The Kubernetes Operator works with the Kubernetes API to handle three Custom Resource Definitions:
- SpringCloudGateway (abbr: scg): This is an (optionally) HA instance of Spring Cloud Gateway – centrally packaged, deployed, and life cycle-managed for the developer.
- SpringCloudGatewayRouteConfig (abbr: scgrc): This is a set of instructions for a Spring Cloud Gateway instance around what host/path to accept requests on, how to filter that request, and which backend Kubernetes service to eventually proxy it onto.
- SpringCloudGatewayMapping (abbr: scgm): This tells the Kubernetes operator which SpringCloudGatewayRouteConfigs are associated with which SpringCloudGateways. The operator automatically reconfigures SpringCloudGateways with the...