devops/uat/testing-report/deployment.yaml

32 lines
682 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: juno-testing-report
spec:
replicas: 1
selector:
matchLabels:
app: juno-testing-report
template:
metadata:
labels:
app: juno-testing-report
spec:
imagePullSecrets:
- name: ccr
containers:
- name: app
image: ccr.ccs.tencentyun.com/juno/testing-report
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
name: http
protocol: TCP
resources:
limits:
cpu: "2"
memory: 2Gi
requests:
cpu: 1m
memory: 1Mi