Custom Pod Annotations
This is regarding usage of service mesh / policy agent automations for stateful sets.
1
vote
![](https://secure.gravatar.com/avatar/b639a04e96a94092bb729714f996804b?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
This is already possible actually! Though it's definitely an area where we need to improve our docs.
In any valid working MongoDBCommunity deployment you'd need to specify:
spec:
statefulSet:
spec:
template:
metadata:
annotations:
example.com/annotation-1: "value-1"
example.com/annotation-2: "value-2"
And obviously alter the annotations according to your needs!
-
Jay commented
This is for community-kubernetes-operator