Deleting and modifying files
This commit is contained in:
parent
f85cc24458
commit
6dfbb55dce
@ -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
|
||||
@ -1 +1 @@
|
||||
export const API_BASE_URL = 'http://localhost:8888';
|
||||
export const API_BASE_URL = 'http://localhost:30888';
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user