GG
Size: a a a
GG
GG
GG
k
podAntiAffinity: <soft|hard>
в 50% уважающих себя чартов есть, а в некоторых даже podAntiAffinityTopologyKey
можно прописатьGG
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "redis-cluster.serviceAccountName" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end -}}
GG
S
backend-chart
- Chart.yaml
- charts
- message-queue
- Chart.yaml
- templates
- values.yaml
- database
- Chart.yaml
- templates
- values.yaml
- values.yaml
V
GG
backend-chart
- Chart.yaml
- charts
...
- values.yaml
- values.dev.yaml
- values.stage.yaml
S
GG
GG
GG
cat Chart.yaml
---
apiVersion: v2
name: *****
description: *****
type: application
version: 3.9.4
appVersion: 3.9.4
dependencies:
- name: logging-operator
version: 3.9.4
repository: *****
- name: logging-operator-logging
version: 3.9.4
repository: ****
sources:
- https://github.com/banzaicloud/logging-operator/tree/master/charts/logging-operator
- https://github.com/banzaicloud/logging-operator/tree/master/charts/logging-operator-logging
GG
k
GG
cat values.yaml
---
logging-operator:
image:
repository: ****
tag: 3.9.4
pullPolicy: Always
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 300m
memory: 256Mi
rbac:
enabled: true
psp:
enabled: false
priorityClassName: system-cluster-critical
monitoring:
serviceMonitor:
enabled: false
logging-operator-logging:
nameOverride: compute-logging-operator
....
SM
V
V