Overview
The GCP infrastructure provider enables you to deploy and manage compute workloads and networking resources on Google Cloud Platform using Datum’s declarative Kubernetes API.The GCP provider is Datum’s first official infrastructure provider plugin, demonstrating the full capabilities of the provider plugin architecture.
Supported Features
The GCP provider supports the following Datum resources and capabilities:VM Instances
Deploy Virtual Machine-based workload instances using OS images from an image library
Container Instances
Deploy sandboxed container-based workload instances with any OCI-compliant container image
VPC Networks
Create and manage Google Cloud VPC networks with automated IPAM
Multi-Network Attachment
Attach workload instances to one or more VPC networks
Installation
Configure GCP credentials
Create a Google Cloud service account with the necessary permissions and download the JSON key file.
Create Kubernetes secret
Store the GCP credentials as a Kubernetes secret in your Datum control plane cluster.
Deploying VM-based Workloads
Deploy virtual machine instances using Datum’sWorkload resource:
Deploying Container-based Workloads
Deploy containerized applications using OCI-compliant container images:Container-based workloads on GCP use sandboxed container runtime for enhanced security and isolation.
VPC Network Management
Create and manage Google Cloud VPC networks with Datum’sNetwork resource:
- A Google Cloud VPC network
- Subnet resources in the specified regions
- Automatic IP address allocation for workload instances
Multi-Network Attachment
Attach workload instances to multiple VPC networks:Configuration Reference
Provider Configuration
| Field | Description | Required |
|---|---|---|
projectID | GCP project ID where resources will be created | Yes |
credentials | Reference to GCP service account credentials | Yes |
region | Default region for resources (can be overridden per workload) | No |
Workload VM Options
| Field | Description | Default |
|---|---|---|
instanceType | Set to vm for VM-based instances | - |
image | GCP VM image (project/image format) | - |
machineType | GCP machine type (e.g., e2-medium, n2-standard-4) | e2-medium |
diskSize | Boot disk size in GB | 10 |
diskType | Disk type (pd-standard, pd-ssd, pd-balanced) | pd-standard |
Workload Container Options
| Field | Description |
|---|---|
containers | List of container specifications |
containers[].name | Container name |
containers[].image | OCI container image reference |
containers[].ports | List of exposed ports |
containers[].env | Environment variables |
Monitoring and Status
Check the status of your GCP-backed workloads:- Provisioned GCP instance IDs
- Assigned IP addresses
- Instance health and readiness
- Any provisioning errors
Troubleshooting
Instances fail to provision
Instances fail to provision
Check the GCP provider logs:Common issues:
- Insufficient GCP quotas for the machine type or region
- Invalid service account permissions
- Network configuration conflicts
Network attachment errors
Network attachment errors
Ensure the The network must be successfully created in GCP before workloads can reference it.
Network resource exists and is in a ready state:Authentication failures
Authentication failures
Verify the GCP credentials secret is correctly configured:Ensure the service account has the required IAM roles:
roles/compute.adminroles/compute.networkAdmin(for VPC management)
Next Steps
Workload Concepts
Learn more about Datum’s Workload resource and placement rules
Network Concepts
Understand Datum’s network management capabilities
Gateway Integration
Expose your workloads with Kubernetes Gateway API
Custom Providers
Build your own infrastructure provider plugin