TiDB cluster CRD missing namespaceSelector

Hi,

I am new to tiDB and I am trying to delpoy tidb clusters on k8s.
While scheduling pods, I want to use namepsaceSelector feature definied in podAffinity but it is missing from tidb cluster CRD

Can anyone please tell what could be the workaround to use namespaceSelector?

Hi vkj-db

Thank you for your feedback, it’s because v1 package - k8s.io/api/core/v1 - Go Packages we use is old and does not contain the namepsaceSelector field.

I will check the upgrade plan internal and let you know.

Thanks.

Hi vkj-db

We plan to upgrade the kubernetes dependence in the next quarter, will be included in new release version later.

Thanks.