# A Managed proxy backed by GCP: the operator creates a VM with an # ephemeral external IP and installs Squid via cloud-init. Requires a # providers-config entry named "gcp-eu" (see providers-config.yaml) and # Application Default Credentials with compute.instanceAdmin.v1. # # All three placement fields are required for GCP; the operator sets the # Proxy to Failed with a message naming any missing one. apiVersion: crawl.example.com/v1alpha1 kind: Proxy metadata: name: proxy-gcp-sample spec: mode: Managed provider: gcp-eu placement: zone: europe-west1-b machineType: e2-micro image: projects/debian-cloud/global/images/family/debian-12 port: 3128 cloudInit: inline: | #cloud-config packages: - squid write_files: - path: /etc/squid/conf.d/proxy-operator.conf content: | http_port 3128 http_access allow all via off forwarded_for off runcmd: - systemctl restart squid attributes: geo: eu purpose: crawl