digitalocean/

directory
v4.0.0-beta+incompatible 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

README

Kubernetes DigitalOcean provisioner

This is an simple provisioner for DigitalOcean Block Storage.

Deploy

  1. Get a DigitalOcean access-token here.
    base64 the token and insert it into manifests/digitalocean-secret.yaml.
    Create the secret: kubectl create -f manifests/digitalocean-secret.yaml
  2. Deploy the RBAC policies: kubectl create -f manifests/rbac
  3. Deploy the provisioner: kubectl create -f manifests/digitalocean-provisioner.yaml
  4. Adjust the hostPath in manifests/digitalocean-flexplugin-deploy.yaml
    Deploy the flex plugin "installer": kubectl create -f manifests/digitalocean-flexplugin-deploy.yaml
  5. Modify the zone in manifests/sc.yaml
    Deploy the default StorageClass: kubectl create -f manifests/sc.yaml
  6. (optional) Try it out with the example pod and PVC
    kubectl create -f examples/pvc.yaml
    kubectl create -f examples/pod-application.yaml
    

TODO

  • Support multi zones
  • Rewrite flexvolume plugin in Go
  • Prevent k8s from scheduling more than 5 disks to a single droplet
  • Improve documentation

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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