Backups not working in GKE
Summary
In a new cluster using GKE taking a first backup is not working, The process start but then the page does not show anything.
Current Behaviour
After a cluster creation, taking the first backup:
then after a few seconds:
Expected Behaviour
Take the backup as expected or showing the error response.
Environment
- StackGres version:
1.0.0-alpha1
- Kubernetes version:
1.17
- Cloud provider or hardware configuration: GKE
Relevant logs and/or screenshots
The backups configuracion:
apiVersion: stackgres.io/v1
kind: SGBackupConfig
metadata:
namespace: ongres-db
name: backupconfig
spec:
baseBackups:
cronSchedule: '30 02 */4 * *'
retention: 4
storage:
type: gcs
gcs:
bucket: stackgres-backups
path: /
gcpCredentials:
secretKeySelectors:
serviceAccountJSON:
name: backups-gcp
key: gcloudkey
The secret:
$ kubectl describe secrets -n ongres-db backups-gcp
Name: backups-gcp
Namespace: ongres-db
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
gcloudkey: 2329 bytes
Backups seems to be save in the bucket: