Commit 3d30ed55 by xujian

xx

parent 6e3f6c7e
{{- range .Values.base.module }}
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: {{ .name }}-deployment
name: {{ .name }}-deployment
namespace: {{ $.Release.Namespace }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ .name }}-deployment
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: {{ .name }}-deployment
spec:
containers:
- env:
- name: PARAMS
value: {{ $.Values.PARAMS }}
image: "{{- $.Values.registry}}/{{ .name }}:{{ .version }}"
imagePullPolicy: IfNotPresent
name: {{ .name }}
resources:
limits:
cpu: "12"
memory: 24Gi
requests:
cpu: "12"
memory: 24Gi
dnsPolicy: ClusterFirst
nodeSelector:
dz-app: qrcode
restartPolicy: Always
schedulerName: default-scheduler
---
{{- end }}
\ No newline at end of file
{{- range .Values.base.module }}
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: {{ .name }}-deployment
name: {{ .name }}-deployment
namespace: {{ $.Release.Namespace }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ .name }}-deployment
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: {{ .name }}-deployment
spec:
containers:
- env:
- name: PARAMS
value: {{ $.Values.PARAMS }}
image: "{{- $.Values.registry}}/{{ .name }}:{{ .version }}"
imagePullPolicy: IfNotPresent
name: {{ .name }}
resources:
limits:
cpu: "12"
memory: 24Gi
requests:
cpu: "12"
memory: 24Gi
dnsPolicy: ClusterFirst
nodeSelector:
dz-app: qrcode
restartPolicy: Always
schedulerName: default-scheduler
---
{{- end }}
\ No newline at end of file
...@@ -124,7 +124,7 @@ htj: ...@@ -124,7 +124,7 @@ htj:
version: v24.09.20 version: v24.09.20
isUpdate: true isUpdate: true
isEncryption: false isEncryption: false
path: factory-tobacco-qrcode-auth path: factory-tobacco-qrcode-modules-wip-relation
web: web:
name: "WEB" name: "WEB"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment