Resolution
For a single Managed controller
In the Managed controller configuration, under the Advanced configuration you can customize the items being sent to the server, using YAML.


-
For
Pods
annotations use:apiVersion: "apps/v1" kind: StatefulSet spec: template: metadata: annotations: foo: bar
-
And for
Statefulsets
annotations:apiVersion: "apps/v1" kind: StatefulSet metadata: annotations: foo: bar
For all the Managed controllers
The same configuration can be applied in the Operation Center under
. This setting would apply to newly created controller only (including Team controllers).This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.