GCP PV Snapshots through Velero is not having Google Cloud Labels #3704
mxs631
started this conversation in
Velero featured
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Myself and @jenting were looking at the issue I am facing in GCP.
The Backups using the latest version of gcp plugin (1.2.0) and velero (1.6.0) are happening fine. Helm chart is 2.17.2
However the Google cloud label are not created even though the K8s custom tags are appearing in the description field of the snapshots.
Labels/Custom Tags are present in the CR
kubectl get backups.velero.io -n velero -o yaml => custom tags present
IT is added to the schedule CR
$ velero schedule describe velero-gcp -n velero
Name: velero-gcp
Namespace: velero
Labels: app.kubernetes.io/instance=velero
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=velero
app_name=my-app
id=15
env=dev
app=foo
helm.sh/chart=velero-2.17.2
The Custom Tags are present in the description field of the snapshot as well,
by":"Helm","app.kubernetes.io/name":"velero","app_name":"my-app","id":"15","app":"foo","helm.sh/chart":"velero-2.17.2","kubernetes.io/created-for/pv/name":"pvc-12376bf2-ab88-497d-8831-f13ad6ae97ba","kubernetes.io/created-for/pvc/name":"prometheus-prometheus-operator-prometheus-db-prometheus-prometheus-operator-prometheus-0","kubernetes.io/created-for/pvc/namespace":"monitoring".......
The Google Cloud Labels are missing for the snapshot.
Any help is much appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions