RunwayService
This type of workload deploys a Cloud Run Service.
If you are deploying a gRPC service, set your backend_protocol to HTTP2.
Cloudflare
Section titled “Cloudflare”If you are deploying a public-facing service but you only want to allow Cloudflare-initiated connections,
you just need to set spec.network_policies.cloudflare: true, which will only allow inbound traffic from
the Cloudflare IP ranges.
Container Image
Section titled “Container Image”You will notice spec.image is defined in the schema, however it is deprecated. You need to define
your image as an input when including the runwayctl project.
For example:
include: - project: 'gitlab-com/gl-infra/platform/runway/runwayctl' file: 'ci-tasks/service-project/runway.yml' inputs: runway_service_id: your-service-id image: "$CI_REGISTRY_IMAGE/some-image:$CI_COMMIT_SHORT_SHA" runway_version: v3.40.0Example
Section titled “Example”apiVersion: runway/v1kind: RunwayServicemetadata: name: "<service name>" department: "..." department_group: "..." product_category: "..." owner_email_handle: "..."spec: regions: - europe-west2 - europe-west3 startup_probe: path: "/monitoring/ready" initial_delay_seconds: 20 timeout_seconds: 10 period_seconds: 17 failure_threshold: 24 liveness_probe: path: "/monitoring/healthz" scalability: min_instances: 2 max_instances: 10 resources: startup_cpu_boost: true limits: cpu: 2000m memory: 8G network_policies: cloudflare: true load_balancing: external_load_balancer: backend_protocol: HTTPSRefer to the schema for all supported configuration options.