ucloud / redis-cluster-operator

Redis Cluster Operator creates and manages Redis Clusters atop Kubernetes.
Apache License 2.0
380 stars 138 forks source link

redis集群不能指定nodeselector吗?需要能部署到指定的几个节点上。 #94

Open andyzheung opened 2 years ago

andyzheung commented 2 years ago

如题。

chawanbid commented 2 years ago

如题。

可以, spec: affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms:

image

classcit commented 2 years ago

nodeselector 注意 改成 nodeSelector即可