Hi team,
We’re using Kasten version 6.5.1 for backing up our stateful resources on Kubernetes v1.26 (RKE2 distribution). Because we didn’t enable GSB (General Storage Backup) and our storage class is not CSI-compatible (local-path provisioner), we rely solely on Blueprints which trigger kanister pods with custom scripts to backup the workloads.
However, recently we introduced the service mesh (Linkerd) to our cluster and we did not want the kanister pods to receive an automatic proxy injection, as this makes the backup job dangling both in the cluster and in the UI. We don’t want to manually add the annotation enabling proxy to each workload either, as this introduces unnecessary overhead.
We’ve seen that it’s possible to set custom labels / annotations in Kanister documentation:
- https://docs.kasten.io/latest/kanister/override.html#kanister-pod-override
- https://docs.kasten.io/latest/kanister/override.html#configuring-custom-labels-and-annotations
But both solutions yield no results. The `kanister-job-xxxx` pod from the Blueprints does not have any custom annotation, despite it being defined in our helm chart values:
The value is set both in the k10-config ConfigMap and as an environment variable KANISTER_POD_CUSTOM_ANNOTATIONS` in various k10-related deployments:
Additionally, we stumbled across the following thread:
but there was no clear answer whether it’s working. Can someone provide us with an update if this functionality works as expected? If so, where are we making an error to achieve this?
Thanks in advance!