juicedata / juicefs

JuiceFS is a distributed POSIX file system built on top of Redis and S3.
https://juicefs.com
Apache License 2.0
10.66k stars 930 forks source link

How do I set parameters for mountPod #1626

Closed Nick-0314 closed 2 years ago

Nick-0314 commented 2 years ago

What happened:

How do I set parameters for mountPod

For example, configure CSI mountPod stain tolerance (remove some default stain tolerance so that nodes can be migrated automatically when they go down?).

Can I use a configMap or CRD to configure mountPod?

Environment:

Nick-0314 commented 2 years ago

I used JuicEFS PVC to run a mysql server, trying to automatically migrate mysql to other available nodes in case of host downtime, but now mysql Pod and JuicEFS mountPod seem to have affinity? Can't mysql Pod migrate to other nodes because juicefs mountPod tolerates all stains?

zwwhdls commented 2 years ago

Hi @mytting , JuiceFS mount pod is scheduled on which mysql pod is deployed on and it will be deleted after mysql pod is deleted. So, as I understood, JuiceFS mount pod did not affect the schedule of mysql pod.

Nick-0314 commented 2 years ago

Configuration problem, solved, thanks @zwwhdls