From 649b71d7fd2d6768460a37ed0d9e6ce7a1202a4f Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 2 May 2025 15:16:24 -0600 Subject: chore: deploy runway as an internal service --- .runway/env-staging.yml | 2 ++ .runway/runway.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .runway/env-staging.yml create mode 100644 .runway/runway.yml diff --git a/.runway/env-staging.yml b/.runway/env-staging.yml new file mode 100644 index 00000000..6eaecdb8 --- /dev/null +++ b/.runway/env-staging.yml @@ -0,0 +1,2 @@ +APP_ENV: "production" +BIND_ADDR: ":http" diff --git a/.runway/runway.yml b/.runway/runway.yml new file mode 100644 index 00000000..044b0b27 --- /dev/null +++ b/.runway/runway.yml @@ -0,0 +1,34 @@ +apiVersion: runway/v1 +kind: RunwayService +metadata: + name: authzd + department: eng-dev + department_group: eng-dev-sscs-authorization + owner_email_handle: mkhan + product_category: authorization +spec: + container_port: 80 + deployment: + strategy: "expedited" + regions: + - us-east1 + startup_probe: + path: "/health" + timeout_seconds: 5 + period_seconds: 5 + failure_threshold: 24 # 2 minutes + liveness_probe: + path: "/health" + scalability: + min_instances: 1 + max_instances: 1 + resources: + startup_cpu_boost: true + limits: + cpu: 1000m + memory: 512Mi + load_balancing: + external_load_balancer: + enabled: false + internal_load_balancer: + enabled: true -- cgit v1.2.3