TrinoCluster in version "v1alpha1" cannot be handled as a TrinoCluster: strict decoding error: unknown field "spec.coordinators.config.affinity.nodeSelector.kubernetes", unknown field "spec.workers.config.affinity.nodeSelector.kubernetes.io/arch"
I have looked at the code and the crd deployed in cluster (23.11) and the field nodeSelector is there and of type "object". This is probably some deserialization dark magic that I do not understand. Can someone explain to me, why the above snippet is not accepted by the api-server and how I could get it accepted?
As a workaround, this does what it is intended to do:
Someone in the community discord posted this snippet:
Which when I try to apply it fails with this:
I have looked at the code and the crd deployed in cluster (23.11) and the field nodeSelector is there and of type "object". This is probably some deserialization dark magic that I do not understand. Can someone explain to me, why the above snippet is not accepted by the api-server and how I could get it accepted? As a workaround, this does what it is intended to do: