-
Hi, I'm trying to deploy minio on a kubernetes cluster. I have 6 worker nodes that are reserved for minio. They are tainted (so no other pods get scheduled on this nodes). Each of this workers have two persistent volume (standard local-storage) assigned using labels, so each node has a label similar to "hds-name=hds-1..6" and each pv has a nodeAffinity pointing to his worker node (two for each node). So far so good. The problem comes when I try to deploy minio using operator. My tenant deploy is a 6 pod with two drives each (a total of 12 drives). I have setup tolerations for the tainted nodes, but the deploy gets stuck on pending the PVC, they are never bound to the PV. Any idea/directions on how to accomplish that? Any help will be really appreciated as I'm stuck in here. EDIT: Now I'm receiving the following error when try to deploy the tenant (yesterday night with the same config file, I was not receiving it):
But in the docs indicates that spec.tolerations exists. I'm confused. Here is an example of one pv config (remember I have two for each node):
And here the tenant config (I removed credentials):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I solved the issue using that example. The ident of tolerations is wrong. I corrected and now it works. I'm not sure why yesterday I was not receiving that error, I had tolerations as in the code pasted on the above post. Anyway, I assume that the docs are wrong? Tolerations are not under specs.tolerations, or I'm mistaking something? |
Beta Was this translation helpful? Give feedback.
I solved the issue using that example. The ident of tolerations is wrong. I corrected and now it works. I'm not sure why yesterday I was not receiving that error, I had tolerations as in the code pasted on the above post. Anyway, I assume that the docs are wrong? Tolerations are not under specs.tolerations, or I'm mistaking something?