From b8c8735a803a665ab14ca25d37a9afb88b7831e5 Mon Sep 17 00:00:00 2001 From: Deep Koluguri Date: Thu, 14 May 2026 08:43:54 -0400 Subject: [PATCH] apisix chanbgfes --- k8s/apisix-route.yaml | 11 ++++++----- k8s/app.yaml | 14 +++++++------- k8s/database.yaml | 14 +++++++------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/k8s/apisix-route.yaml b/k8s/apisix-route.yaml index 7a795a4..56e4c49 100644 --- a/k8s/apisix-route.yaml +++ b/k8s/apisix-route.yaml @@ -1,16 +1,17 @@ apiVersion: apisix.apache.org/v2 kind: ApisixRoute metadata: - name: Curio-route - namespace: Curio + name: curio-route + namespace: curio spec: http: - - name: Curio-rule + - name: curio-rule match: hosts: - - Curio.applaude.net + - curio.applaude.net + - curaflow.applaude.net paths: - /* backends: - - serviceName: Curio-app + - serviceName: curio-app servicePort: 80 diff --git a/k8s/app.yaml b/k8s/app.yaml index d224251..e642ddb 100644 --- a/k8s/app.yaml +++ b/k8s/app.yaml @@ -1,33 +1,33 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: Curio-app + name: curio-app spec: replicas: 2 selector: matchLabels: - app: Curio-app + app: curio-app template: metadata: labels: - app: Curio-app + app: curio-app spec: containers: - - name: Curio + - name: curio image: 192.168.8.250:5000/curio:latest ports: - containerPort: 3000 env: - name: DATABASE_URL - value: "postgres://postgres:Curio_secret@Curio-db:5432/Curio" + value: "postgres://postgres:curio_secret@curio-db:5432/curio" --- apiVersion: v1 kind: Service metadata: - name: Curio-app + name: curio-app spec: selector: - app: Curio-app + app: curio-app ports: - port: 80 targetPort: 3000 diff --git a/k8s/database.yaml b/k8s/database.yaml index 942c79b..b957321 100644 --- a/k8s/database.yaml +++ b/k8s/database.yaml @@ -1,33 +1,33 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: Curio-db + name: curio-db spec: selector: matchLabels: - app: Curio-db + app: curio-db template: metadata: labels: - app: Curio-db + app: curio-db spec: containers: - name: postgres image: postgres:15-alpine env: - name: POSTGRES_PASSWORD - value: "Curio_secret" + value: "curio_secret" - name: POSTGRES_DB - value: "Curio" + value: "curio" ports: - containerPort: 5432 --- apiVersion: v1 kind: Service metadata: - name: Curio-db + name: curio-db spec: selector: - app: Curio-db + app: curio-db ports: - port: 5432