open-nomad/demo/csi/portworx-csi-plugin
Michael Schurter b93649a21b docs: add @ggriffiths as author 2021-09-29 10:50:51 -07:00
..
README.md docs: add @ggriffiths as author 2021-09-29 10:50:51 -07:00
portworx-csi-plugin.hcl Add -k consul dependency back in 2021-08-11 09:03:25 -07:00
portworx-volume.hcl Add Portworx CSI Driver example 2021-08-04 06:19:08 -07:00

README.md

Portworx CSI Plugin

Author: @ggriffiths

Portworx is a software defined storage overlay which may be used via a CSI Plugin.

Official documentation

Before getting started, full documentation for using Portworx with Nomad can be found at docs.portworx.com/install-with-other/nomad.

Prerequisites

  • Portworx 2.8.0 or higher is required for using the Portworx CSI Driver on Nomad
  • Nomad 1.1.0 or higher is recommended for the full suite of volume operations
  • A minimum of 3 nodes is required for running Portworx on Nomad
  • Connection to a consul cluster is required

Configure your Nomad clients

The Portworx OCI-monitor container needs to run in privileged mode, so you need to configure your Nomad clients to allow docker containers running on privileged mode.

Add the following lines in your Nomad client configuration files and restart your clients:

plugin "docker" {
  config {
    allow_privileged = true
    volumes {
      enabled = true
    }
  }
}

Getting started

To start using the Portworx CSI Driver on Nomad, complete the follow steps:

  1. Run the following command in this directory:

    nomad job run portworx-csi-plugin.hcl
    
  2. Portworx will take a few minutes to startup. To check on the status, run the following command:

    nomad job status portworx
    
  3. Once Portworx is running, create a volume with the following command:

    nomad volume create portworx-volume.hcl
    

Portworx Openstorage CSI Driver repo:

The open source control plane for Portworx can be found at the following repository: https://github.com/libopenstorage/openstorage/tree/master/csi