X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fcommon%2Fcassandra%2Ftemplates%2Fbackup%2Fcronjob.yaml;h=6db1202b4fba8c98ec77c0fed5efd8de1e46c8cd;hb=HEAD;hp=8773cd3e4bffb41f58c38e5aa93fce5f0febb836;hpb=9e79dd39f57135ab08f58b74b628c4ae5991e503;p=oom.git diff --git a/kubernetes/common/cassandra/templates/backup/cronjob.yaml b/kubernetes/common/cassandra/templates/backup/cronjob.yaml index 8773cd3e4b..6db1202b4f 100644 --- a/kubernetes/common/cassandra/templates/backup/cronjob.yaml +++ b/kubernetes/common/cassandra/templates/backup/cronjob.yaml @@ -53,20 +53,20 @@ spec: 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 @@ -148,9 +148,6 @@ spec: 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 }} @@ -239,13 +236,7 @@ spec: 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