Update velero
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.12.1
|
||||
appVersion: 1.13.0
|
||||
description: A Helm chart for velero
|
||||
home: https://github.com/vmware-tanzu/velero
|
||||
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
|
||||
@@ -16,4 +16,4 @@ maintainers:
|
||||
name: velero
|
||||
sources:
|
||||
- https://github.com/vmware-tanzu/velero
|
||||
version: 5.1.3
|
||||
version: 5.3.0
|
||||
|
||||
+7
-3
@@ -6,7 +6,7 @@ Velero has two main components: a CLI, and a server-side Kubernetes deployment.
|
||||
|
||||
## Installing the Velero CLI
|
||||
|
||||
See the different options for installing the [Velero CLI](https://velero.io/docs/v1.12/basic-install/#install-the-cli).
|
||||
See the different options for installing the [Velero CLI](https://velero.io/docs/v1.13/basic-install/#install-the-cli).
|
||||
|
||||
## Installing the Velero server
|
||||
|
||||
@@ -16,7 +16,7 @@ Kubernetes v1.16+, because this helm chart uses CustomResourceDefinition `apiext
|
||||
|
||||
### Velero version
|
||||
|
||||
This helm chart installs Velero version v1.12 https://velero.io/docs/v1.12/. See the [#Upgrading](#upgrading) section for information on how to upgrade from other versions.
|
||||
This helm chart installs Velero version v1.13 https://velero.io/docs/v1.13/. See the [#Upgrading](#upgrading) section for information on how to upgrade from other versions.
|
||||
|
||||
### Provider credentials
|
||||
|
||||
@@ -26,7 +26,7 @@ When installing using the Helm chart, the provider's credential information will
|
||||
|
||||
The default configuration values for this chart are listed in values.yaml.
|
||||
|
||||
See Velero's full [official documentation](https://velero.io/docs/v1.12/basic-install/). More specifically, find your provider in the Velero list of [supported providers](https://velero.io/docs/v1.12/supported-providers/) for specific configuration information and examples.
|
||||
See Velero's full [official documentation](https://velero.io/docs/v1.13/basic-install/). More specifically, find your provider in the Velero list of [supported providers](https://velero.io/docs/v1.13/supported-providers/) for specific configuration information and examples.
|
||||
|
||||
#### Set up Helm
|
||||
|
||||
@@ -90,6 +90,10 @@ helm upgrade vmware-tanzu/velero <RELEASE NAME> --reuse-values --set configurati
|
||||
|
||||
## Upgrading
|
||||
|
||||
### Upgrading to v1.13
|
||||
|
||||
The [instructions found here](https://velero.io/docs/v1.13/upgrade-to-1.13/) will assist you in upgrading from version v1.12.x to v1.13.
|
||||
|
||||
### Upgrading to v1.12
|
||||
|
||||
The [instructions found here](https://velero.io/docs/v1.12/upgrade-to-1.12/) will assist you in upgrading from version v1.11.x to v1.12.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Set provider name and backup storage location bucket name
|
||||
configuration:
|
||||
backupStorageLocation:
|
||||
- name: backups-primary
|
||||
- name: default
|
||||
bucket: velero-backups
|
||||
default: true
|
||||
provider: aws
|
||||
|
||||
@@ -479,6 +479,15 @@ spec:
|
||||
description: TTL is a time.Duration-parseable string describing how
|
||||
long the Backup should be retained for.
|
||||
type: string
|
||||
uploaderConfig:
|
||||
description: UploaderConfig specifies the configuration for the uploader.
|
||||
nullable: true
|
||||
properties:
|
||||
parallelFilesUpload:
|
||||
description: ParallelFilesUpload is the number of files parallel
|
||||
uploads to perform when using the uploader.
|
||||
type: integer
|
||||
type: object
|
||||
volumeSnapshotLocations:
|
||||
description: VolumeSnapshotLocations is a list containing names of
|
||||
VolumeSnapshotLocations associated with this backup.
|
||||
@@ -537,6 +546,22 @@ spec:
|
||||
description: FormatVersion is the backup format version, including
|
||||
major, minor, and patch version.
|
||||
type: string
|
||||
hookStatus:
|
||||
description: HookStatus contains information about the status of the
|
||||
hooks.
|
||||
nullable: true
|
||||
properties:
|
||||
hooksAttempted:
|
||||
description: HooksAttempted is the total number of attempted hooks
|
||||
Specifically, HooksAttempted represents the number of hooks
|
||||
that failed to execute and the number of hooks that executed
|
||||
successfully.
|
||||
type: integer
|
||||
hooksFailed:
|
||||
description: HooksFailed is the total number of hooks which ended
|
||||
with an error
|
||||
type: integer
|
||||
type: object
|
||||
phase:
|
||||
description: Phase is the current state of the Backup.
|
||||
enum:
|
||||
|
||||
@@ -50,6 +50,8 @@ spec:
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: DataDownload acts as the protocol between data mover plugins
|
||||
and data mover controller for the datamover restore operation
|
||||
properties:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this representation
|
||||
|
||||
@@ -51,6 +51,8 @@ spec:
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: DataUpload acts as the protocol between data mover plugins and
|
||||
data mover controller for the datamover backup operation
|
||||
properties:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this representation
|
||||
|
||||
@@ -55,6 +55,7 @@ spec:
|
||||
- RestoreItemOperations
|
||||
- CSIBackupVolumeSnapshots
|
||||
- CSIBackupVolumeSnapshotContents
|
||||
- BackupVolumeInfos
|
||||
type: string
|
||||
name:
|
||||
description: Name is the name of the Kubernetes resource with
|
||||
|
||||
@@ -37,10 +37,6 @@ spec:
|
||||
jsonPath: .spec.volume
|
||||
name: Volume
|
||||
type: string
|
||||
- description: Backup repository identifier for this backup
|
||||
jsonPath: .spec.repoIdentifier
|
||||
name: Repository ID
|
||||
type: string
|
||||
- description: The type of the uploader to handle data transfer
|
||||
jsonPath: .spec.uploaderType
|
||||
name: Uploader Type
|
||||
@@ -127,6 +123,13 @@ spec:
|
||||
description: Tags are a map of key-value pairs that should be applied
|
||||
to the volume backup as tags.
|
||||
type: object
|
||||
uploaderSettings:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: UploaderSettings are a map of key-value pairs that should
|
||||
be applied to the uploader configuration.
|
||||
nullable: true
|
||||
type: object
|
||||
uploaderType:
|
||||
description: UploaderType is the type of the uploader to handle the
|
||||
data transfer.
|
||||
|
||||
@@ -121,6 +121,13 @@ spec:
|
||||
description: SourceNamespace is the original namespace for namaspace
|
||||
mapping.
|
||||
type: string
|
||||
uploaderSettings:
|
||||
additionalProperties:
|
||||
type: string
|
||||
description: UploaderSettings are a map of key-value pairs that should
|
||||
be applied to the uploader configuration.
|
||||
nullable: true
|
||||
type: object
|
||||
uploaderType:
|
||||
description: UploaderType is the type of the uploader to handle the
|
||||
data transfer.
|
||||
|
||||
@@ -188,6 +188,12 @@ spec:
|
||||
- Continue
|
||||
- Fail
|
||||
type: string
|
||||
waitForReady:
|
||||
description: WaitForReady ensures command will
|
||||
be launched when container is Ready instead
|
||||
of Running.
|
||||
nullable: true
|
||||
type: boolean
|
||||
waitTimeout:
|
||||
description: WaitTimeout defines the maximum amount
|
||||
of time Velero should wait for the container
|
||||
@@ -414,6 +420,16 @@ spec:
|
||||
restore from the most recent successful backup created from this
|
||||
schedule.
|
||||
type: string
|
||||
uploaderConfig:
|
||||
description: UploaderConfig specifies the configuration for the restore.
|
||||
nullable: true
|
||||
properties:
|
||||
writeSparseFiles:
|
||||
description: WriteSparseFiles is a flag to indicate whether write
|
||||
files sparsely or not.
|
||||
nullable: true
|
||||
type: boolean
|
||||
type: object
|
||||
required:
|
||||
- backupName
|
||||
type: object
|
||||
@@ -436,6 +452,22 @@ spec:
|
||||
description: FailureReason is an error that caused the entire restore
|
||||
to fail.
|
||||
type: string
|
||||
hookStatus:
|
||||
description: HookStatus contains information about the status of the
|
||||
hooks.
|
||||
nullable: true
|
||||
properties:
|
||||
hooksAttempted:
|
||||
description: HooksAttempted is the total number of attempted hooks
|
||||
Specifically, HooksAttempted represents the number of hooks
|
||||
that failed to execute and the number of hooks that executed
|
||||
successfully.
|
||||
type: integer
|
||||
hooksFailed:
|
||||
description: HooksFailed is the total number of hooks which ended
|
||||
with an error
|
||||
type: integer
|
||||
type: object
|
||||
phase:
|
||||
description: Phase is the current state of the Restore
|
||||
enum:
|
||||
|
||||
@@ -63,6 +63,16 @@ spec:
|
||||
description: Schedule is a Cron expression defining when to run the
|
||||
Backup.
|
||||
type: string
|
||||
skipImmediately:
|
||||
description: 'SkipImmediately specifies whether to skip backup if
|
||||
schedule is due immediately from `schedule.status.lastBackup` timestamp
|
||||
when schedule is unpaused or if schedule is new. If true, backup
|
||||
will be skipped immediately when schedule is unpaused if it is due
|
||||
based on .Status.LastBackupTimestamp or schedule is new, and will
|
||||
run at next schedule time. If false, backup will not be skipped
|
||||
immediately when schedule is unpaused, but will run at next schedule
|
||||
time. If empty, will follow server configuration (default: false).'
|
||||
type: boolean
|
||||
template:
|
||||
description: Template is the definition of the Backup to be run on
|
||||
the provided schedule
|
||||
@@ -516,6 +526,16 @@ spec:
|
||||
description: TTL is a time.Duration-parseable string describing
|
||||
how long the Backup should be retained for.
|
||||
type: string
|
||||
uploaderConfig:
|
||||
description: UploaderConfig specifies the configuration for the
|
||||
uploader.
|
||||
nullable: true
|
||||
properties:
|
||||
parallelFilesUpload:
|
||||
description: ParallelFilesUpload is the number of files parallel
|
||||
uploads to perform when using the uploader.
|
||||
type: integer
|
||||
type: object
|
||||
volumeSnapshotLocations:
|
||||
description: VolumeSnapshotLocations is a list containing names
|
||||
of VolumeSnapshotLocations associated with this backup.
|
||||
@@ -541,6 +561,11 @@ spec:
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
lastSkipped:
|
||||
description: LastSkipped is the last time a Schedule was skipped
|
||||
format: date-time
|
||||
nullable: true
|
||||
type: string
|
||||
phase:
|
||||
description: Phase is the current phase of the Schedule
|
||||
enum:
|
||||
|
||||
@@ -86,3 +86,11 @@ For examples:
|
||||
{{- $minorVersion := .Capabilities.KubeVersion.Minor | regexFind "[0-9]+" -}}
|
||||
{{- printf "%s.%s" .Capabilities.KubeVersion.Major $minorVersion -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
{{/*
|
||||
Calculate the checksum of the credentials secret.
|
||||
*/}}
|
||||
{{- define "chart.config-checksum" -}}
|
||||
{{- tpl (print .Values.credentials.secretContents .Values.credentials.extraEnvVars ) $ | sha256sum -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -40,7 +40,7 @@ spec:
|
||||
{{- if .Values.podLabels }}
|
||||
{{- toYaml .Values.podLabels | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.podAnnotations .Values.metrics.enabled }}
|
||||
{{- if or .Values.podAnnotations .Values.metrics.enabled (and .Values.credentials.useSecret (not .Values.credentials.existingSecret)) }}
|
||||
annotations:
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -50,6 +50,9 @@ spec:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if and .Values.credentials.useSecret (not .Values.credentials.existingSecret) }}
|
||||
checksum/secret: {{ template "chart.config-checksum" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.image.imagePullSecrets }}
|
||||
@@ -147,6 +150,9 @@ spec:
|
||||
{{- with .terminatingResourceTimeout }}
|
||||
- --terminating-resource-timeout={{ . }}
|
||||
{{- end }}
|
||||
{{- with .defaultSnapshotMoveData }}
|
||||
- --default-snapshot-move-data={{ . }}
|
||||
{{- end }}
|
||||
### Global Flags
|
||||
{{- with .features }}
|
||||
- --features={{ . }}
|
||||
@@ -215,7 +221,7 @@ spec:
|
||||
{{- with .Values.configuration.extraEnvVars }}
|
||||
{{- range $key, $value := . }}
|
||||
- name: {{ default "none" $key }}
|
||||
value: {{ default "none" $value | quote }}
|
||||
value: {{ tpl (default "none" $value) $ | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.credentials.extraEnvVars }}
|
||||
|
||||
@@ -33,7 +33,7 @@ spec:
|
||||
{{- if .Values.podLabels }}
|
||||
{{- toYaml .Values.podLabels | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.podAnnotations .Values.metrics.enabled }}
|
||||
{{- if or .Values.podAnnotations .Values.metrics.enabled (and .Values.credentials.useSecret (not .Values.credentials.existingSecret)) }}
|
||||
annotations:
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
@@ -43,6 +43,9 @@ spec:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if and .Values.credentials.useSecret (not .Values.credentials.existingSecret) }}
|
||||
checksum/secret: {{ template "chart.config-checksum" . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.image.imagePullSecrets }}
|
||||
@@ -150,7 +153,7 @@ spec:
|
||||
{{- with .Values.configuration.extraEnvVars }}
|
||||
{{- range $key, $value := . }}
|
||||
- name: {{ default "none" $key }}
|
||||
value: {{ default "none" $value | quote }}
|
||||
value: {{ tpl (default "none" $value) $ | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.credentials.extraEnvVars }}
|
||||
@@ -191,7 +194,7 @@ spec:
|
||||
{{- with .Values.nodeAgent.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeAgent.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
|
||||
@@ -16,9 +16,9 @@ metadata:
|
||||
type: Opaque
|
||||
data:
|
||||
{{- range $key, $value := .Values.credentials.secretContents }}
|
||||
{{ $key }}: {{ $value | b64enc | quote }}
|
||||
{{ $key }}: {{ tpl $value $ | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.credentials.extraEnvVars }}
|
||||
{{ $key }}: {{ $value | b64enc | quote }}
|
||||
{{ $key }}: {{ tpl $value $ | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -15,6 +15,9 @@ metadata:
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
helm.sh/chart: {{ include "velero.chart" . }}
|
||||
{{- with .Values.kubectl.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
backoffLimit: 3
|
||||
template:
|
||||
@@ -86,9 +89,24 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /tmp
|
||||
name: crds
|
||||
{{- if (.Values.upgradeCRDsJob).extraVolumeMounts }}
|
||||
{{- toYaml .Values.upgradeCRDsJob.extraVolumeMounts | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if (.Values.upgradeCRDsJob).extraEnvVars }}
|
||||
env:
|
||||
{{- with .Values.upgradeCRDsJob.extraEnvVars }}
|
||||
{{- range $key, $value := . }}
|
||||
- name: {{ default "none" $key }}
|
||||
value: {{ default "none" $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: crds
|
||||
emptyDir: {}
|
||||
{{- if (.Values.upgradeCRDsJob).extraVolumes }}
|
||||
{{- toYaml .Values.upgradeCRDsJob.extraVolumes | nindent 8 }}
|
||||
{{- end }}
|
||||
restartPolicy: OnFailure
|
||||
{{- with $podSecurityContext }}
|
||||
securityContext:
|
||||
|
||||
+9
-500
@@ -1,75 +1,3 @@
|
||||
##
|
||||
## Configuration settings related to Velero installation namespace
|
||||
##
|
||||
|
||||
# Labels settings in namespace
|
||||
namespace:
|
||||
labels: {}
|
||||
# Enforce Pod Security Standards with Namespace Labels
|
||||
# https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/
|
||||
# - key: pod-security.kubernetes.io/enforce
|
||||
# value: privileged
|
||||
# - key: pod-security.kubernetes.io/enforce-version
|
||||
# value: latest
|
||||
# - key: pod-security.kubernetes.io/audit
|
||||
# value: privileged
|
||||
# - key: pod-security.kubernetes.io/audit-version
|
||||
# value: latest
|
||||
# - key: pod-security.kubernetes.io/warn
|
||||
# value: privileged
|
||||
# - key: pod-security.kubernetes.io/warn-version
|
||||
# value: latest
|
||||
|
||||
##
|
||||
## End of namespace-related settings.
|
||||
##
|
||||
|
||||
|
||||
##
|
||||
## Configuration settings that directly affect the Velero deployment YAML.
|
||||
##
|
||||
|
||||
# Details of the container image to use in the Velero deployment & daemonset (if
|
||||
# enabling node-agent). Required.
|
||||
image:
|
||||
repository: velero/velero
|
||||
tag: v1.12.1
|
||||
# Digest value example: sha256:d238835e151cec91c6a811fe3a89a66d3231d9f64d09e5f3c49552672d271f38.
|
||||
# If used, it will take precedence over the image.tag.
|
||||
# digest:
|
||||
pullPolicy: IfNotPresent
|
||||
# One or more secrets to be used when pulling images
|
||||
imagePullSecrets: []
|
||||
# - registrySecretName
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# Annotations to add to the Velero deployment's. Optional.
|
||||
#
|
||||
# If you are using reloader use the following annotation with your VELERO_SECRET_NAME
|
||||
annotations: {}
|
||||
# secret.reloader.stakater.com/reload: "<VELERO_SECRET_NAME>"
|
||||
|
||||
# Annotations to add to secret
|
||||
secretAnnotations: {}
|
||||
|
||||
# Labels to add to the Velero deployment's. Optional.
|
||||
labels: {}
|
||||
|
||||
# Annotations to add to the Velero deployment's pod template. Optional.
|
||||
#
|
||||
# If using kube2iam or kiam, use the following annotation with your AWS_ACCOUNT_ID
|
||||
# and VELERO_ROLE_NAME filled in:
|
||||
podAnnotations: {}
|
||||
# iam.amazonaws.com/role: "arn:aws:iam::<AWS_ACCOUNT_ID>:role/<VELERO_ROLE_NAME>"
|
||||
|
||||
# Additional pod labels for Velero deployment's template. Optional
|
||||
# ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
podLabels: {}
|
||||
|
||||
# Number of old history to retain to allow rollback (If not set, default Kubernetes value is set to 10)
|
||||
# revisionHistoryLimit: 1
|
||||
|
||||
# Resource requests/limits to specify for the Velero deployment.
|
||||
# https://velero.io/docs/v1.6/customize-installation/#customize-resource-requests-and-limits
|
||||
@@ -80,125 +8,28 @@ resources:
|
||||
limits:
|
||||
memory: 512Mi
|
||||
|
||||
# Resource requests/limits to specify for the upgradeCRDs job pod.
|
||||
upgradeJobResources:
|
||||
upgradeJobResources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
|
||||
# Configure the dnsPolicy of the Velero deployment
|
||||
# See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
|
||||
dnsPolicy: ClusterFirst
|
||||
|
||||
# Init containers to add to the Velero deployment's pod spec. At least one plugin provider image is required.
|
||||
# If the value is a string then it is evaluated as a template.
|
||||
initContainers:
|
||||
- name: velero-plugin-for-csi
|
||||
image: velero/velero-plugin-for-csi:v0.6.0
|
||||
image: velero/velero-plugin-for-csi:v0.7.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- mountPath: /target
|
||||
name: plugins
|
||||
- mountPath: /target
|
||||
name: plugins
|
||||
- name: velero-plugin-for-aws
|
||||
image: velero/velero-plugin-for-aws:v1.8.0
|
||||
image: velero/velero-plugin-for-aws:v1.9.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- mountPath: /target
|
||||
name: plugins
|
||||
|
||||
# SecurityContext to use for the Velero deployment. Optional.
|
||||
# Set fsGroup for `AWS IAM Roles for Service Accounts`
|
||||
# see more informations at: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 1337
|
||||
|
||||
# Container Level Security Context for the 'velero' container of the Velero deployment. Optional.
|
||||
# See: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
||||
containerSecurityContext: {}
|
||||
# allowPrivilegeEscalation: false
|
||||
# capabilities:
|
||||
# drop: ["ALL"]
|
||||
# add: []
|
||||
# readOnlyRootFilesystem: true
|
||||
|
||||
# Container Lifecycle Hooks to use for the Velero deployment. Optional.
|
||||
lifecycle: {}
|
||||
|
||||
# Pod priority class name to use for the Velero deployment. Optional.
|
||||
priorityClassName: ""
|
||||
|
||||
# The number of seconds to allow for graceful termination of the pod. Optional.
|
||||
terminationGracePeriodSeconds: 3600
|
||||
|
||||
# Liveness probe of the pod
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /metrics
|
||||
port: http-monitoring
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 5
|
||||
|
||||
# Readiness probe of the pod
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /metrics
|
||||
port: http-monitoring
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
successThreshold: 1
|
||||
failureThreshold: 5
|
||||
|
||||
# Tolerations to use for the Velero deployment. Optional.
|
||||
tolerations: []
|
||||
|
||||
# Affinity to use for the Velero deployment. Optional.
|
||||
affinity: {}
|
||||
|
||||
# Node selector to use for the Velero deployment. Optional.
|
||||
nodeSelector: {}
|
||||
|
||||
# DNS configuration to use for the Velero deployment. Optional.
|
||||
dnsConfig: {}
|
||||
|
||||
# Extra volumes for the Velero deployment. Optional.
|
||||
extraVolumes: []
|
||||
|
||||
# Extra volumeMounts for the Velero deployment. Optional.
|
||||
extraVolumeMounts: []
|
||||
|
||||
# Extra K8s manifests to deploy
|
||||
extraObjects: []
|
||||
# - apiVersion: secrets-store.csi.x-k8s.io/v1
|
||||
# kind: SecretProviderClass
|
||||
# metadata:
|
||||
# name: velero-secrets-store
|
||||
# spec:
|
||||
# provider: aws
|
||||
# parameters:
|
||||
# objects: |
|
||||
# - objectName: "velero"
|
||||
# objectType: "secretsmanager"
|
||||
# jmesPath:
|
||||
# - path: "access_key"
|
||||
# objectAlias: "access_key"
|
||||
# - path: "secret_key"
|
||||
# objectAlias: "secret_key"
|
||||
# secretObjects:
|
||||
# - data:
|
||||
# - key: access_key
|
||||
# objectName: client-id
|
||||
# - key: client-secret
|
||||
# objectName: client-secret
|
||||
# secretName: velero-secrets-store
|
||||
# type: Opaque
|
||||
- mountPath: /target
|
||||
name: plugins
|
||||
|
||||
# Settings for Velero's prometheus metrics. Enabled by default.
|
||||
metrics:
|
||||
@@ -223,37 +54,15 @@ metrics:
|
||||
annotations: {}
|
||||
additionalLabels: {}
|
||||
|
||||
# metrics.serviceMonitor.metricRelabelings Specify Metric Relabelings to add to the scrape endpoint
|
||||
# ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#relabelconfig
|
||||
# metricRelabelings: []
|
||||
# metrics.serviceMonitor.relabelings [array] Prometheus relabeling rules
|
||||
# relabelings: []
|
||||
# ServiceMonitor namespace. Default to Velero namespace.
|
||||
# namespace:
|
||||
# ServiceMonitor connection scheme. Defaults to HTTP.
|
||||
# scheme: ""
|
||||
# ServiceMonitor connection tlsConfig. Defaults to {}.
|
||||
# tlsConfig: {}
|
||||
nodeAgentPodMonitor:
|
||||
autodetect: true
|
||||
enabled: true
|
||||
annotations: {}
|
||||
additionalLabels: {}
|
||||
# ServiceMonitor namespace. Default to Velero namespace.
|
||||
# namespace:
|
||||
# ServiceMonitor connection scheme. Defaults to HTTP.
|
||||
# scheme: ""
|
||||
# ServiceMonitor connection tlsConfig. Defaults to {}.
|
||||
# tlsConfig: {}
|
||||
|
||||
prometheusRule:
|
||||
autodetect: true
|
||||
enabled: true
|
||||
# Additional labels to add to deployed PrometheusRule
|
||||
additionalLabels: {}
|
||||
# PrometheusRule namespace. Defaults to Velero namespace.
|
||||
# namespace: ""
|
||||
# Rules to be deployed
|
||||
spec:
|
||||
- alert: VeleroBackupPartialFailures
|
||||
annotations:
|
||||
@@ -272,343 +81,43 @@ metrics:
|
||||
labels:
|
||||
severity: warning
|
||||
|
||||
kubectl:
|
||||
image:
|
||||
repository: docker.io/bitnami/kubectl
|
||||
# Digest value example: sha256:d238835e151cec91c6a811fe3a89a66d3231d9f64d09e5f3c49552672d271f38.
|
||||
# If used, it will take precedence over the kubectl.image.tag.
|
||||
# digest:
|
||||
# kubectl image tag. If used, it will take precedence over the cluster Kubernetes version.
|
||||
# tag: 1.16.15
|
||||
# Container Level Security Context for the 'kubectl' container of the crd jobs. Optional.
|
||||
# See: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
||||
containerSecurityContext: {}
|
||||
# Resource requests/limits to specify for the upgrade/cleanup job. Optional
|
||||
resources: {}
|
||||
# Annotations to set for the upgrade/cleanup job. Optional.
|
||||
annotations: {}
|
||||
# Labels to set for the upgrade/cleanup job. Optional.
|
||||
labels: {}
|
||||
|
||||
# This job upgrades the CRDs.
|
||||
upgradeCRDs: true
|
||||
|
||||
# This job is meant primarily for cleaning up CRDs on CI systems.
|
||||
# Using this on production systems, especially those that have multiple releases of Velero, will be destructive.
|
||||
cleanUpCRDs: false
|
||||
|
||||
##
|
||||
## End of deployment-related settings.
|
||||
##
|
||||
|
||||
|
||||
##
|
||||
## Parameters for the `default` BackupStorageLocation and VolumeSnapshotLocation,
|
||||
## and additional server settings.
|
||||
##
|
||||
configuration:
|
||||
# Parameters for the BackupStorageLocation(s). Configure multiple by adding other element(s) to the backupStorageLocation slice.
|
||||
# See https://velero.io/docs/v1.6/api-types/backupstoragelocation/
|
||||
backupStorageLocation:
|
||||
# name is the name of the backup storage location where backups should be stored. If a name is not provided,
|
||||
# a backup storage location will be created with the name "default". Optional.
|
||||
- name: minio
|
||||
# provider is the name for the backup storage location provider.
|
||||
provider: aws
|
||||
# bucket is the name of the bucket to store backups in. Required.
|
||||
bucket: velero
|
||||
# caCert defines a base64 encoded CA bundle to use when verifying TLS connections to the provider. Optional.
|
||||
caCert:
|
||||
# prefix is the directory under which all Velero data should be stored within the bucket. Optional.
|
||||
caCert:
|
||||
prefix: home
|
||||
# default indicates this location is the default backup storage location. Optional.
|
||||
default: true
|
||||
# validationFrequency defines how frequently Velero should validate the object storage. Optional.
|
||||
validationFrequency:
|
||||
# accessMode determines if velero can write to this backup storage location. Optional.
|
||||
# default to ReadWrite, ReadOnly is used during migrations and restores.
|
||||
accessMode: ReadWrite
|
||||
credential:
|
||||
# name of the secret used by this backupStorageLocation.
|
||||
name: minio-creds
|
||||
# name of key that contains the secret data to be used.
|
||||
key: minio-creds
|
||||
# Additional provider-specific configuration. See link above
|
||||
# for details of required/optional fields for your provider.
|
||||
config:
|
||||
config:
|
||||
region: home-deimos
|
||||
s3ForcePathStyle: true
|
||||
s3Url: https://block.ervine.cloud
|
||||
# kmsKeyId:
|
||||
# resourceGroup:
|
||||
# The ID of the subscription containing the storage account, if different from the cluster’s subscription. (Azure only)
|
||||
# subscriptionId:
|
||||
# storageAccount:
|
||||
# publicUrl:
|
||||
# Name of the GCP service account to use for this backup storage location. Specify the
|
||||
# service account here if you want to use workload identity instead of providing the key file.(GCP only)
|
||||
# serviceAccount:
|
||||
# Option to skip certificate validation or not if insecureSkipTLSVerify is set to be true, the client side should set the
|
||||
# flag. For Velero client Command like velero backup describe, velero backup logs needs to add the flag --insecure-skip-tls-verify
|
||||
# insecureSkipTLSVerify:
|
||||
|
||||
# Parameters for the VolumeSnapshotLocation(s). Configure multiple by adding other element(s) to the volumeSnapshotLocation slice.
|
||||
# See https://velero.io/docs/v1.6/api-types/volumesnapshotlocation/
|
||||
volumeSnapshotLocation:
|
||||
# name is the name of the volume snapshot location where snapshots are being taken. Required.
|
||||
- name: minio
|
||||
# provider is the name for the volume snapshot provider.
|
||||
provider: aws
|
||||
credential:
|
||||
# name of the secret used by this volumeSnapshotLocation.
|
||||
name: minio-creds
|
||||
# name of key that contains the secret data to be used.
|
||||
key: minio-creds
|
||||
# Additional provider-specific configuration. See link above
|
||||
# for details of required/optional fields for your provider.
|
||||
config:
|
||||
region: home-deimos
|
||||
# apiTimeout:
|
||||
# resourceGroup:
|
||||
# The ID of the subscription where volume snapshots should be stored, if different from the cluster’s subscription. If specified, also requires `configuration.volumeSnapshotLocation.config.resourceGroup`to be set. (Azure only)
|
||||
# subscriptionId:
|
||||
# incremental:
|
||||
# snapshotLocation:
|
||||
# project:
|
||||
|
||||
# These are server-level settings passed as CLI flags to the `velero server` command. Velero
|
||||
# uses default values if they're not passed in, so they only need to be explicitly specified
|
||||
# here if using a non-default value. The `velero server` default values are shown in the
|
||||
# comments below.
|
||||
# --------------------
|
||||
# `velero server` default: restic
|
||||
uploaderType:
|
||||
# `velero server` default: 1m
|
||||
backupSyncPeriod:
|
||||
# `velero server` default: 4h
|
||||
fsBackupTimeout:
|
||||
# `velero server` default: 30
|
||||
clientBurst:
|
||||
# `velero server` default: 500
|
||||
clientPageSize:
|
||||
# `velero server` default: 20.0
|
||||
clientQPS:
|
||||
# Name of the default backup storage location. Default: default
|
||||
defaultBackupStorageLocation:
|
||||
# How long to wait by default before backups can be garbage collected. Default: 72h
|
||||
defaultBackupTTL:
|
||||
# Name of the default volume snapshot location.
|
||||
defaultVolumeSnapshotLocations:
|
||||
# `velero server` default: empty
|
||||
disableControllers:
|
||||
# `velero server` default: 1h
|
||||
garbageCollectionFrequency:
|
||||
# Set log-format for Velero pod. Default: text. Other option: json.
|
||||
logFormat:
|
||||
# Set log-level for Velero pod. Default: info. Other options: debug, warning, error, fatal, panic.
|
||||
logLevel:
|
||||
# The address to expose prometheus metrics. Default: :8085
|
||||
metricsAddress:
|
||||
# Directory containing Velero plugins. Default: /plugins
|
||||
pluginDir:
|
||||
# The address to expose the pprof profiler. Default: localhost:6060
|
||||
profilerAddress:
|
||||
# `velero server` default: false
|
||||
restoreOnlyMode:
|
||||
# `velero server` default: customresourcedefinitions,namespaces,storageclasses,volumesnapshotclass.snapshot.storage.k8s.io,volumesnapshotcontents.snapshot.storage.k8s.io,volumesnapshots.snapshot.storage.k8s.io,persistentvolumes,persistentvolumeclaims,secrets,configmaps,serviceaccounts,limitranges,pods,replicasets.apps,clusterclasses.cluster.x-k8s.io,clusters.cluster.x-k8s.io,clusterresourcesets.addons.cluster.x-k8s.io
|
||||
restoreResourcePriorities:
|
||||
# `velero server` default: 1m
|
||||
storeValidationFrequency:
|
||||
# How long to wait on persistent volumes and namespaces to terminate during a restore before timing out. Default: 10m
|
||||
terminatingResourceTimeout:
|
||||
# Comma separated list of velero feature flags. default: empty
|
||||
# features: EnableCSI
|
||||
features:
|
||||
# `velero server` default: velero
|
||||
namespace:
|
||||
|
||||
# additional key/value pairs to be used as environment variables such as "AWS_CLUSTER_NAME: 'yourcluster.domain.tld'"
|
||||
extraEnvVars: {}
|
||||
|
||||
# Set true for backup all pod volumes without having to apply annotation on the pod when used file system backup Default: false.
|
||||
defaultVolumesToFsBackup:
|
||||
|
||||
# How often repository maintain is run for repositories by default.
|
||||
defaultRepoMaintainFrequency:
|
||||
|
||||
##
|
||||
## End of backup/snapshot location settings.
|
||||
##
|
||||
|
||||
|
||||
##
|
||||
## Settings for additional Velero resources.
|
||||
##
|
||||
|
||||
rbac:
|
||||
# Whether to create the Velero role and role binding to give all permissions to the namespace to Velero.
|
||||
create: true
|
||||
# Whether to create the cluster role binding to give administrator permissions to Velero
|
||||
clusterAdministrator: true
|
||||
# Name of the ClusterRole.
|
||||
clusterAdministratorName: cluster-admin
|
||||
|
||||
# Information about the Kubernetes service account Velero uses.
|
||||
serviceAccount:
|
||||
server:
|
||||
create: true
|
||||
name:
|
||||
annotations:
|
||||
labels:
|
||||
|
||||
# Info about the secret to be used by the Velero deployment, which
|
||||
# should contain credentials for the cloud provider IAM account you've
|
||||
# set up for Velero.
|
||||
credentials:
|
||||
# Whether a secret should be used. Set to false if, for examples:
|
||||
# - using kube2iam or kiam to provide AWS IAM credentials instead of providing the key file. (AWS only)
|
||||
# - using workload identity instead of providing the key file. (GCP only)
|
||||
useSecret: true
|
||||
# Name of the secret to create if `useSecret` is true and `existingSecret` is empty
|
||||
name:
|
||||
# Name of a pre-existing secret (if any) in the Velero namespace
|
||||
# that should be used to get IAM account credentials. Optional.
|
||||
existingSecret: minio-creds
|
||||
# Data to be stored in the Velero secret, if `useSecret` is true and `existingSecret` is empty.
|
||||
# As of the current Velero release, Velero only uses one secret key/value at a time.
|
||||
# The key must be named `cloud`, and the value corresponds to the entire content of your IAM credentials file.
|
||||
# Note that the format will be different for different providers, please check their documentation.
|
||||
# Here is a list of documentation for plugins maintained by the Velero team:
|
||||
# [AWS] https://github.com/vmware-tanzu/velero-plugin-for-aws/blob/main/README.md
|
||||
# [GCP] https://github.com/vmware-tanzu/velero-plugin-for-gcp/blob/main/README.md
|
||||
# [Azure] https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure/blob/main/README.md
|
||||
secretContents: {}
|
||||
# cloud: |
|
||||
# [default]
|
||||
# aws_access_key_id=<REDACTED>
|
||||
# aws_secret_access_key=<REDACTED>
|
||||
# additional key/value pairs to be used as environment variables such as "DIGITALOCEAN_TOKEN: <your-key>". Values will be stored in the secret.
|
||||
extraEnvVars: {}
|
||||
# Name of a pre-existing secret (if any) in the Velero namespace
|
||||
# that will be used to load environment variables into velero and node-agent.
|
||||
# Secret should be in format - https://kubernetes.io/docs/concepts/configuration/secret/#use-case-as-container-environment-variables
|
||||
extraSecretRef: ""
|
||||
|
||||
# Whether to create backupstoragelocation crd, if false => do not create a default backup location
|
||||
backupsEnabled: true
|
||||
# Whether to create volumesnapshotlocation crd, if false => disable snapshot feature
|
||||
snapshotsEnabled: true
|
||||
|
||||
# Whether to deploy the node-agent daemonset.
|
||||
deployNodeAgent: false
|
||||
|
||||
nodeAgent:
|
||||
podVolumePath: /var/lib/kubelet/pods
|
||||
privileged: false
|
||||
# Pod priority class name to use for the node-agent daemonset. Optional.
|
||||
priorityClassName: ""
|
||||
# Resource requests/limits to specify for the node-agent daemonset deployment. Optional.
|
||||
# https://velero.io/docs/v1.6/customize-installation/#customize-resource-requests-and-limits
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
memory: 1024Mi
|
||||
|
||||
# Tolerations to use for the node-agent daemonset. Optional.
|
||||
tolerations: []
|
||||
|
||||
# Annotations to set for the node-agent daemonset. Optional.
|
||||
annotations: {}
|
||||
|
||||
# labels to set for the node-agent daemonset. Optional.
|
||||
labels: {}
|
||||
|
||||
# will map /scratch to emptyDir. Set to false and specify your own volume
|
||||
# via extraVolumes and extraVolumeMounts that maps to /scratch
|
||||
# if you don't want to use emptyDir.
|
||||
useScratchEmptyDir: true
|
||||
|
||||
# Extra volumes for the node-agent daemonset. Optional.
|
||||
extraVolumes: []
|
||||
|
||||
# Extra volumeMounts for the node-agent daemonset. Optional.
|
||||
extraVolumeMounts: []
|
||||
|
||||
# Key/value pairs to be used as environment variables for the node-agent daemonset. Optional.
|
||||
extraEnvVars: {}
|
||||
|
||||
# Configure the dnsPolicy of the node-agent daemonset
|
||||
# See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
|
||||
dnsPolicy: ClusterFirst
|
||||
|
||||
# SecurityContext to use for the Velero deployment. Optional.
|
||||
# Set fsGroup for `AWS IAM Roles for Service Accounts`
|
||||
# see more informations at: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
# fsGroup: 1337
|
||||
|
||||
# Container Level Security Context for the 'node-agent' container of the node-agent daemonset. Optional.
|
||||
# See: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
||||
containerSecurityContext: {}
|
||||
|
||||
# Container Lifecycle Hooks to use for the node-agent daemonset. Optional.
|
||||
lifecycle: {}
|
||||
|
||||
# Node selector to use for the node-agent daemonset. Optional.
|
||||
nodeSelector: {}
|
||||
|
||||
# Affinity to use with node-agent daemonset. Optional.
|
||||
affinity: {}
|
||||
|
||||
# DNS configuration to use for the node-agent daemonset. Optional.
|
||||
dnsConfig: {}
|
||||
|
||||
# Backup schedules to create.
|
||||
# Eg:
|
||||
# schedules:
|
||||
# mybackup:
|
||||
# disabled: false
|
||||
# labels:
|
||||
# myenv: foo
|
||||
# annotations:
|
||||
# myenv: foo
|
||||
# schedule: "0 0 * * *"
|
||||
# useOwnerReferencesInBackup: false
|
||||
# template:
|
||||
# ttl: "240h"
|
||||
# storageLocation: default
|
||||
# includedNamespaces:
|
||||
# - foo
|
||||
schedules: {}
|
||||
|
||||
# Velero ConfigMaps.
|
||||
# Eg:
|
||||
# configMaps:
|
||||
# See: https://velero.io/docs/v1.11/file-system-backup/
|
||||
# fs-restore-action-config:
|
||||
# labels:
|
||||
# velero.io/plugin-config: ""
|
||||
# velero.io/pod-volume-restore: RestoreItemAction
|
||||
# data:
|
||||
# image: velero/velero-restore-helper:v1.10.2
|
||||
# cpuRequest: 200m
|
||||
# memRequest: 128Mi
|
||||
# cpuLimit: 200m
|
||||
# memLimit: 128Mi
|
||||
# secCtx: |
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# add: []
|
||||
# allowPrivilegeEscalation: false
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsUser: 1001
|
||||
# runAsGroup: 999
|
||||
configMaps: {}
|
||||
|
||||
##
|
||||
## End of additional Velero resource settings.
|
||||
##
|
||||
|
||||
+22
-12
@@ -33,7 +33,7 @@ namespace:
|
||||
# enabling node-agent). Required.
|
||||
image:
|
||||
repository: velero/velero
|
||||
tag: v1.12.1
|
||||
tag: v1.13.0
|
||||
# Digest value example: sha256:d238835e151cec91c6a811fe3a89a66d3231d9f64d09e5f3c49552672d271f38.
|
||||
# If used, it will take precedence over the image.tag.
|
||||
# digest:
|
||||
@@ -81,14 +81,22 @@ resources:
|
||||
cpu: 1000m
|
||||
memory: 512Mi
|
||||
|
||||
# Resource requests/limits to specify for the upgradeCRDs job pod.
|
||||
upgradeJobResources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
# Resource requests/limits to specify for the upgradeCRDs job pod. Need to be adjusted by user accordingly.
|
||||
upgradeJobResources: {}
|
||||
# requests:
|
||||
# cpu: 50m
|
||||
# memory: 128Mi
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 256Mi
|
||||
upgradeCRDsJob:
|
||||
# Extra volumes for the Upgrade CRDs Job. Optional.
|
||||
extraVolumes: []
|
||||
# Extra volumeMounts for the Upgrade CRDs Job. Optional.
|
||||
extraVolumeMounts: []
|
||||
# Extra key/value pairs to be used as environment variables. Optional.
|
||||
extraEnvVars: {}
|
||||
|
||||
|
||||
# Configure the dnsPolicy of the Velero deployment
|
||||
# See: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
|
||||
@@ -98,13 +106,13 @@ dnsPolicy: ClusterFirst
|
||||
# If the value is a string then it is evaluated as a template.
|
||||
initContainers:
|
||||
# - name: velero-plugin-for-csi
|
||||
# image: velero/velero-plugin-for-csi:v0.6.0
|
||||
# image: velero/velero-plugin-for-csi:v0.7.0
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# volumeMounts:
|
||||
# - mountPath: /target
|
||||
# name: plugins
|
||||
# - name: velero-plugin-for-aws
|
||||
# image: velero/velero-plugin-for-aws:v1.8.0
|
||||
# image: velero/velero-plugin-for-aws:v1.9.0
|
||||
# imagePullPolicy: IfNotPresent
|
||||
# volumeMounts:
|
||||
# - mountPath: /target
|
||||
@@ -423,6 +431,8 @@ configuration:
|
||||
storeValidationFrequency:
|
||||
# How long to wait on persistent volumes and namespaces to terminate during a restore before timing out. Default: 10m
|
||||
terminatingResourceTimeout:
|
||||
# Bool flag to configure Velero server to move data by default for all snapshots supporting data movement. Default: false
|
||||
defaultSnapshotMoveData:
|
||||
# Comma separated list of velero feature flags. default: empty
|
||||
# features: EnableCSI
|
||||
features:
|
||||
@@ -469,7 +479,7 @@ serviceAccount:
|
||||
credentials:
|
||||
# Whether a secret should be used. Set to false if, for examples:
|
||||
# - using kube2iam or kiam to provide AWS IAM credentials instead of providing the key file. (AWS only)
|
||||
# - using workload identity instead of providing the key file. (GCP only)
|
||||
# - using workload identity instead of providing the key file. (Azure/GCP only)
|
||||
useSecret: true
|
||||
# Name of the secret to create if `useSecret` is true and `existingSecret` is empty
|
||||
name:
|
||||
|
||||
Reference in New Issue
Block a user