provider-gcp icon indicating copy to clipboard operation
provider-gcp copied to clipboard

Add support for types required to replace GCPCluster type in cluster-api-provider-gcp

Open hasheddan opened this issue 3 years ago • 1 comments

What problem are you facing?

cluster-api-provider-gcp exposes a GCPCluster type and controller that does most of the setup around provisioning a Kubernetes cluster on GCP other than creating the actual compute instances. Under the hood the GCPCluster controller creates a number resources on GCP, some of which are already supported by provider-gcp. Supporting all of the resources would allow for an XRD to replicate the GCPCluster type and be serviced by a Composition with all of the required resources.

xref https://github.com/kubernetes-sigs/cluster-api/issues/4095

How could Crossplane help solve your problem?

This list was generated on this CrossHack livestream.

Add support for the following resources:

  • [x] Network
  • [x] Router
  • [x] GlobalAddress
  • [x] HealthCheck
    • Patches loadBalancerBackendPort (source)
  • [x] BackendService
    • References HealthCheckService (source)
    • References InstanceGroup (source)
  • [x] TargetTcpProxy
    • References BackendService (source)
  • [x] ForwardingRule
    • References GlobalAddress (source)
    • References TargetTcpProxy (source)
    • Patches LoadBalancerForwardingPort CAPI Cluster type
  • [x] InstanceGroup
    • References Network
    • Patches loadBalancerBackendPort --> groups instances for load balancing (source)
    • Potentially not needed for GCPCluster type (but is for GCPMachine)
  • [x] Firewall
    • References Network
    • Patches loadBalancerBackendPort --> Allow health checks firewall rule (source)

hasheddan avatar Feb 10 '21 21:02 hasheddan