All checks were successful
Build and Deploy Web / build-and-deploy (push) Successful in 1m55s
42 lines
710 B
YAML
42 lines
710 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: rtc-web
|
|
labels:
|
|
app: rtc-web
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: rtc-web
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: rtc-web
|
|
spec:
|
|
containers:
|
|
- name: rtc-web
|
|
image: ${CI_REGISTRY_IMAGE}/web:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rtc-web
|
|
spec:
|
|
selector:
|
|
app: rtc-web
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|