gorgeous-minister-41131
06/11/2021, 10:36 PMd = self.create_deployment(
*args,
**kwargs,
extra_annotations={"<http://app.kubernetes.io/group|app.kubernetes.io/group>": "worker"},
extra_labels={"<http://app.kubernetes.io/group|app.kubernetes.io/group>": "worker"},
)
d.spec.replicas = 2
I find myself having to write custom classes that use Mixins to modify object properties before they’re passed to the constructor, to allow the object to be modified (just-before) it’s actually created…