There is no automatic backup enabled for buckets.
You can request a Google Cloud Storage bucket through the NAIS manifest.
apiVersion: "nais.io/v1alpha1" kind: "Application" metadata: name: app-a ... spec: ... gcp: buckets: - name: mybucket retentionPeriodDays: 30
Once a bucket is provisioned, it will not be automatically deleted unless one explicitly sets
true. This means that any cleanup must be done manually.
Bucket names must be globally unique across the entire Google infrastructure. This can cause provisioning problems if your bucket name is used by someone else.
RetentionPeriodDays is set in number of days, if not set; no retention policy will be set and files will never be deleted from the bucket.
If you have problems getting your bucket up and running, check errors in the event log:
kubectl describe storagebucket mybucket
An example application using workflow identity to access a bucket: testapp