Skip to content
Snippets Groups Projects
Commit fbcfddf5 authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Update names of deployments and services for frontend

parent 39cf8e1e
No related branches found
No related tags found
1 merge request!32Google Cloud Deployment
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:
name: frontend-service-hpa
name: frontend-deployment-hpa
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: frontend-service
name: frontend-deployment
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 80
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-service
name: frontend-deployment
spec:
selector:
matchLabels:
app: frontend-service
app: frontend
replicas: 3
template:
metadata:
labels:
app: frontend-service
app: frontend
spec:
containers:
- name: frontend-service
......@@ -21,10 +21,10 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: daily-frontend-service
name: frontend-service
spec:
selector:
app: frontend-service
app: frontend
ports:
- name: http
port: 80
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment