resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
- name: "cassandra-backup-init"
image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
resources:
limits:
cpu: "100m"
- memory: "0.5Gi"
+ memory: "500Mi"
requests:
cpu: "3m"
- memory: "0.02Gi"
+ memory: "20Mi"
command:
- /bin/bash
- -c
apiVersion: v1
fieldPath: metadata.namespace
volumeMounts:
- - mountPath: /etc/localtime
- name: localtime
- readOnly: true
{{- range $i := until (int .Values.replicaCount)}}
- mountPath: /onap-data/cassandra-{{ $i }}
name: data-dir-{{ $i }}
volumeMounts:
- name: backup-dir
mountPath: /backup
- - name: localtime
- mountPath: /etc/localtime
- readOnly: true
volumes:
- - name: localtime
- hostPath:
- path: /etc/localtime
- name: scripts
configMap:
name: {{ include "common.fullname" . }}-configmap