From 6dfbb55dce6c884d6d691bf5e78e1afd7a04abb5 Mon Sep 17 00:00:00 2001 From: Charles Mendiburu Date: Fri, 8 May 2026 15:08:13 +0200 Subject: [PATCH] Deleting and modifying files --- z2/Front-end/frontend.yaml | 36 ------------------------------------ z2/Front-end/src/config.js | 2 +- z2/sql/backend.yaml | 35 ----------------------------------- 3 files changed, 1 insertion(+), 72 deletions(-) delete mode 100644 z2/Front-end/frontend.yaml delete mode 100644 z2/sql/backend.yaml diff --git a/z2/Front-end/frontend.yaml b/z2/Front-end/frontend.yaml deleted file mode 100644 index bc3c905..0000000 --- a/z2/Front-end/frontend.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion : apps/v1 -kind : Deployment -metadata : - name : vigimeteo-frontend -spec : - replicas : 2 - selector : - matchLabels : - app : vigimeteo-frontend - template : - metadata : - labels : - app : vigimeteo-frontend - spec : - containers : - - name : vigimeteo-frontend - image : z1-frontend:latest - imagePullPolicy: IfNotPresent - ports : - - containerPort : 80 - ##env : - ##- name : BACKEND_URL - ## value : "http://vigimeteo-backend-service:8080" ---- -apiVersion : v1 -kind : Service -metadata : - name : vigimeteo-frontend-service -spec : - selector : - app : vigimeteo-frontend - ports : - - protocol : TCP - port : 80 - targetPort : 80 - type : LoadBalancer \ No newline at end of file diff --git a/z2/Front-end/src/config.js b/z2/Front-end/src/config.js index 5c2983f..8fdcdf2 100644 --- a/z2/Front-end/src/config.js +++ b/z2/Front-end/src/config.js @@ -1 +1 @@ -export const API_BASE_URL = 'http://localhost:8888'; \ No newline at end of file +export const API_BASE_URL = 'http://localhost:30888'; \ No newline at end of file diff --git a/z2/sql/backend.yaml b/z2/sql/backend.yaml deleted file mode 100644 index 85a79d3..0000000 --- a/z2/sql/backend.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion -kind: Deployment -metadata: - name: vigimeteo-backend - spec: - replicas: 2 - selector: - matchLabels: - app: vigimeteo-backend - template: - metadata: - labels: - app: vigimeteo-backend - spec: - containers: - - name: vigimeteo-backend - image: vigimeteo-backend:latest - ports: - - containerPort: 8080 - env: - - name: DB_HOST - value: "vigimeteo-db" - ---- -apiVersion: v1 -kind: Service -metadata: - name: vigimeteo-backend-service -spec: - selector: - app: vigimeteo-backend - ports: - - protocol: TCP - port: 8080 - targetPort: 8080 \ No newline at end of file