42 lines
978 B
YAML
42 lines
978 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: healthsync-front
|
|
namespace: team1tier-healthsync-front-ns
|
|
labels:
|
|
app: healthsync-front
|
|
spec:
|
|
revisionHistoryLimit: 3
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: healthsync-front
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: healthsync-front
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: acr-secret
|
|
containers:
|
|
- name: healthsync-front
|
|
image: acrhealthsync01.azurecr.io/team1tier/healthsync-front:1.0.23
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80
|
|
resources:
|
|
requests:
|
|
cpu: 256m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 1024m
|
|
memory: 1024Mi
|
|
volumeMounts:
|
|
- name: runtime-config
|
|
mountPath: /usr/share/nginx/html/runtime-env.js
|
|
subPath: runtime-env.js
|
|
volumes:
|
|
- name: runtime-config
|
|
configMap:
|
|
name: frontend-config
|