You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: k8up.io/v1kind: Schedulemetadata:
name: backupspec:
# Only way to setup securityContext on the containerspodConfigRef:
name: backup-configbackend:
swift:
# Path into the Swift directory path: /backupcontainer: backupenvFrom:
- secretRef:
name: backuprepoPasswordSecretRef:
name: backupkey: RESTIC_PASSWORDbackup:
failedJobsHistoryLimit: 2successfulJobsHistoryLimit: 2
What did I expect
I thought that even though there was no pvc attached to the deployment a backup would start with the backup command, but when I look at the backup object I see the following:
Name: backup-backup-lp6pm
Labels: <none>
Annotations: <none>
API Version: k8up.io/v1
Kind: Backup
Metadata:
Creation Timestamp: 2024-10-28T14:40:00Z
Generation: 1
Owner References:
API Version: k8up.io/v1
Kind: Schedule
Name: backup
Spec:
Backend:
Env From:
Secret Ref:
Name: backup
Repo Password Secret Ref:
Key: RESTIC_PASSWORD
Name: backup
Swift:
Container: backup
Path: /backup
Failed Jobs History Limit: 2
Pod Config Ref:
Name: backup-config
Resources:
Successful Jobs History Limit: 2
Status:
Conditions:
Last Transition Time: 2024-10-28T14:40:00Z
Message: no container definitions found
Reason: NoPreBackupPodsFound
Status: True
Type: PreBackupPodReady
Events: <none>
Does k8up needs at least one PVC in order to run a backup ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello there,
Helm chart version: 4.8.1
I have a django application that use an external postgresql database outside of the cluster and has no PVC.
My goal is to use django builtin command to backup the database as json and I added the following annotations to the deployment:
Besides that I have the following schedule:
And the following PodConfig for security reasons:
What did I expect
I thought that even though there was no pvc attached to the deployment a backup would start with the backup command, but when I look at the backup object I see the following:
Does k8up needs at least one PVC in order to run a backup ?
Beta Was this translation helpful? Give feedback.
All reactions