This is a collection of Kubernetes FlexVolume plugins. Flexvolume is a GA feature from Kubernetes 1.8 release onwards.
go get github.com/pharmer/flexvolumes
See here. Fill in your DigitalOcean API key in secret.yaml
and upload:
kubectl create -f secret.yaml
Add--enable-controller-attach-detach=false
to KUBELET_ARGS
.
Restart kubelet with systemctl restart kubelet
.
After that, run:
kubectl create -f daemonset.yaml
Create a volume on DigitalOcean if you haven't already done so, and find its id. From the website it looks like the best way to do it is to inspect element on the volumes page and look for a div with data-id="...", or use their API, or if you're using terraform inspect the state. Fill in the id in pod.yaml. Then:
kubectl create -f pod.yaml
Pharmer binaries collects anonymous usage statistics to help us learn how the software is being used and how we can improve it. To disable stats collection, run the operator with the flag --analytics=false
.
We use Slack for public discussions. To chit chat with us or the rest of the community, join us in the Kubernetes Slack team channel #pharmer
. To sign up, use our Slack inviter.
To receive product announcements, please join our mailing list or follow us on Twitter. Our mailing list is also used to share design docs shared via Google docs.
If you have found a bug with Pharmer or want to request for new features, please file an issue.