-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AZ of grafana persistent volume pvc should be based on the nodes' AZ #4
Comments
From @kukikiloke on May 8, 2017 20:55 may be related to deis/monitor#188 |
From @jchauncey on May 8, 2017 21:0 When you install the monitor chart kubernetes is what requests the resources from AWS. The scheduler should bind the volume to the node that is requesting the PVC. If you do a |
From @kukikiloke on May 8, 2017 21:14 I may have missed it but I don't really see which node the pvc and pod bind to.
|
From @jchauncey on May 8, 2017 21:17 Do a describe on the persistent volume itself |
From @kukikiloke on May 8, 2017 21:23 here is what I got from describing the persistent volume
|
From @jchauncey on May 8, 2017 21:24 So this makes me wonder if the scheduler thinks your master node is schedulable so it binds the PV to that node and then attemps to bind the pod there. |
From @kukikiloke on May 8, 2017 21:34 I did a describe on my master node and I guess you may be right that the master node is schedulable. I launched my kube cluster with kops and haven't explicitly set the master node to be schedulable.
|
From @jchauncey on May 8, 2017 21:43 I started noticing this with clusters provisioned around ~1.4 but I could never really figure out why. I think you need to taint that node so that nothing gets scheduled on it. https://medium.com/@alejandro.ramirez.ch/reserving-a-kubernetes-node-for-specific-nodes-e75dc8297076 |
From @kukikiloke on May 8, 2017 20:51
Cloud provider: AWS
When using persistent volume for grafana, one of my pods is stuck at pending state due to error
pod (deis-monitor-grafana-465911159-nkhmp) failed to fit in any node fit failure summary on nodes : NoVolumeZoneConflict (2), PodToleratesNodeTaints (1)
. The followings are the AZs my AWS resources running on:I tried to manually attach the PVC volume on AWS console and it only allows me to choose EC2 instance from the same AZ as the volume. At this moment, the monitor charts create the volume to be at the same AZ as the master (just my guess, haven't looked into source code). Instead, it should be based on which AZ is/are the node(s) is hosted.
Copied from original issue: deis/monitor#196
The text was updated successfully, but these errors were encountered: