flexvolumes

command module
v0.0.0-...-599403d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

Go Report Card Build Status codecov Docker Pulls Slack Twitter

flexvolumes

This is a collection of Kubernetes FlexVolume plugins. Flexvolume is a GA feature from Kubernetes 1.8 release onwards.

Build
go get github.com/pharmer/flexvolumes
Install

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
Usage

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.


Support

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.

Acknowledgement

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL