Open jirislav opened 1 month ago
Please see this pull request to the branch 0.24.0 🙏🏿 .
I encountered a similar issue when adding additional annotations for Datadog agent metrics scraping.
Here are the details:
annotations
in the podTemplates
for a CHK manifest works successfully when creating the CHK for the first time.annotations
block later on causes the reconciliation process to drop all annotations.We are also randomly seeing reconciler errors on some deploys. since we are using annotations in our env, i would suspect it's the same issue as above mentioned for datadaog
1 reconciler.go:299] err: Operation cannot be fulfilled on clickhousekeeperinstallations.clickhouse-keeper.altinity.com "keeper": the object has been modified; please apply your changes to the latest version and try again
@g-marius do you use something like Flux or ArgoCD?
Keeping the POD annotations is essential to run the workload in EKS, where the fargate profile is the default one.
Dropping essential annotations, such as
"eks.amazonaws.com/compute-type" = "ec2"
will cause the POD to be unschedulable due to the fact that:Example manifest:
Interestingly, first POD of the 3 replicas starts with correct annotation, but then, the second doesn't as the annotations are dropped from the underlying statefulset.
Note that I also see this in the log of the operator, which is possibly the result of this behavior: