From f21c3504000c225178f414c3097d3880dc120adb Mon Sep 17 00:00:00 2001 From: chyoo Date: Wed, 8 Jul 2026 14:52:36 +0900 Subject: [PATCH] add platform gateway k8s manifests --- k8s/platform-gateway.yaml | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 k8s/platform-gateway.yaml diff --git a/k8s/platform-gateway.yaml b/k8s/platform-gateway.yaml new file mode 100644 index 0000000..05cea4b --- /dev/null +++ b/k8s/platform-gateway.yaml @@ -0,0 +1,54 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: platform-gateway + namespace: studio-system + labels: + app: platform-gateway +spec: + replicas: 1 + selector: + matchLabels: + app: platform-gateway + template: + metadata: + labels: + app: platform-gateway + spec: + containers: + - name: platform-gateway + image: localhost:5000/platform-gateway:0.1.0 + imagePullPolicy: Always + ports: + - name: http + containerPort: 4500 + envFrom: + - secretRef: + name: platform-gateway-env + readinessProbe: + httpGet: + path: /health + port: 4500 + initialDelaySeconds: 5 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /health + port: 4500 + initialDelaySeconds: 15 + periodSeconds: 20 +--- +apiVersion: v1 +kind: Service +metadata: + name: platform-gateway + namespace: studio-system + labels: + app: platform-gateway +spec: + selector: + app: platform-gateway + ports: + - name: http + port: 4500 + targetPort: 4500