-
Notifications
You must be signed in to change notification settings - Fork 1.6k
digitalocean: Document common tweaks required for a working setup #531
Comments
Per: #571
cc @lloeki |
I was faced with a silent mount failure. The sole available bit of log was on the pod's events:
Volume was attaching correctly, just not mounting. Took me two hours before I thought about looking into the node's kubelet logs:
Turns out I forgot to set It's a bit more general than digitalocean, but I thought that may be worth mentioning somewhere that a mount timeout could have its cause logged over there and not inside kubernetes. |
@lloeki, could you please tell me how you added --volume-plugin-dir and where/which config? |
@Kiura the systemd service file. If you're using kubeadm:
Again, be sure to set it for both the master and each none. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/area digitalocean
Per #529, for
kubeadm
andbootkube
setups, theflexvolume
dir need to be accessible forkube-controller-manager
for a working setup (the volume won't attach if not).bootkube
also require adding aDIGITALOCEAN_ACCESS_TOKEN
env variable tokube-controller-manager
, askube-controller-manager
run as nobody and as so can't read thedo_token
file.The text was updated successfully, but these errors were encountered: