zilliztech / milvus-operator

The Kubernetes Operator of Milvus.
https://milvus.io
Apache License 2.0
34 stars 20 forks source link

nodeSelector not work for Component #21

Closed lysShub closed 9 months ago

lysShub commented 9 months ago

nodeSelector not work for Components, e.g milvus-etcd

# This is a sample to deploy a standalone milvus in milvus-operator's default configurations.
apiVersion: milvus.io/v1beta1
kind: Milvus
metadata:
  name: my-milvus
spec:
  components:
    nodeSelector: 
      beta.kubernetes.io/arch: amd64 
haorenfsa commented 9 months ago

Yes, etcd, mq, object storages are classified as dependencies instead of components. Their NodeSelector can be configured in spec.dependencies.xxx.inCluster.values

Check the CRD document's dependency section in this repo

https://github.com/zilliztech/milvus-operator/blob/main/docs/CRD/milvus.md

lysShub commented 9 months ago

thx