A Crossplane provider extends the Kubernetes API so declarative resources can provision and manage services outside the cluster. The GCP provider connects those resources to Google Cloud Platform, allowing cloud infrastructure to be handled through Kubernetes workflows. section 5.2 section 5.2.1
Use a provider through this operational workflow:
- Install Crossplane in a Kubernetes cluster, then install and configure the provider for the target cloud account. section 5.2 section 5.2.3
- Apply provider-specific Kubernetes resources with kubectl, package them in Helm charts, or store them in a Git-based environment pipeline. section 5.2.1
- Let the provider reconcile the declared state with the external cloud resource and report status through Kubernetes. section 5.2.4
Declare a Google Cloud bucket
Create a resource with apiVersion storage.gcp.upbound.io/v1beta1 and kind Bucket, set spec.forProvider.location to US, and reference the configured provider with providerConfigRef.name: default. Apply it through kubectl; the GCP provider provisions the bucket and manages its reported state. section 5.2.1
Use the managed-resource lifecycle to inspect creation, reconciliation, status reporting, and configuration drift behavior. section 5.2.4
