personal-charts/charts/vp-web/1.0.0/templates/deployment.yaml
2022-01-12 19:36:42 +01:00

25 lines
628 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "vp-web.fullname" . }}
labels:
{{- include "vp-web.labels" . | nindent 4 }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "vp-web.selectorLabels" . | nindent 6 }}
template:
metadata:
labels:
{{- include "vp-web.selectorLabels" . | nindent 8 }}
spec:
containers:
- name: app
image: "hleiding/uwsgi-new"
imagePullPolicy: IfNotPresent
- name: web
image: "hleiding/nginx"
imagePullPolicy: IfNotPresent