Cannot apply annotations, labels, or resource limitations to backup pods

Description

annotations are supported for spec.pxc and spec.haproxy but not for backups, so we cannot set resource limits as well as annotations for the backup pod.

Desired Behaviour

We would like to have the ability to define the following for backup pods:

  • labels

  • annotations

  • resource limitations

Environment

None

AFFECTED CS IDs

https://percona.service-now.com/nav_to.do?uri=u_ps_project.do?sys_id=6d513f2d1b493010ff8499b4bd4bcb42

Smart Checklist

Activity

Tomislav Plavcic May 27, 2022 at 10:23 AM


Annotations, labels and resource limitations are specified in storage section for backups and from what I see it works for the helm chart also because the helm chart will take anything that we put into storages in values.yaml.

So if we have example storage in values:

When we start the backup the pod will have following defined:

And this seems to work for PITR pod also, so if you set annotations/labels for the storage used in PITR it will be applied to PITR pod.
Example:

The PITR pod will have:

Sergey Pronin March 21, 2022 at 1:12 PM

This task is about helm chart and the ability to set annotations through values.yaml in it.

 

https://jira.percona.com/browse/K8SPXC-966 Duplicates this issue.

Not a Bug

Details

Assignee

Reporter

Affects versions

Priority

Smart Checklist

Created March 11, 2022 at 5:24 PM
Updated March 5, 2024 at 5:40 PM
Resolved June 2, 2022 at 1:26 PM