Giter Club home page Giter Club logo

power-openstack-k8s-volume-driver's Introduction

IBM FlexVolume Driver for OpenStack on Power

This project contains the source code to build the docker images for the FlexVolume driver and volume provisioner to integrate OpenStack on Power storage into the IBM Cloud Private product. The IBM FlexVolume driver provides the support within IBM Cloud Private to communicate with OpenStack on Power to provision persistent volumes and attach those volumes to worker nodes so that they may be mounted to containers.

There are 2 separate docker images created as part of this project, the ibmcom/power-openstack-k8s-volume-flex and ibmcom/power-openstack-k8s-volume-provisioner, where the volume-provisioner provides an external storage provisioner in Kubernetes to create and delete volumes and the volume-flex provides a Kubernetes flex volume driver that handles the attaching/detaching volumes to the worker nodes and mounting the appropriate directories.

These images are not meant to be used standalone but rather deployed in coordination through a helm chart, such as the ibm-powervc-k8s-volume-driver helm chart, into the IBM Cloud Private product. These images will be pulled in automatically when the helm chart is installed.

Build

In summary, the build is driven by installing the appropriate golang packages (through glade) on the system and basic docker support, and executing the makefile to compile the go programs and build and save the docker images.

Install

When using ICp, the docker images will be available on docker hub so will be implicitly pulled and loaded as part of the helm chart installation, but for development and test an additional step is needed.

docker image load < $TMP_DIR/power-openstack-k8s-volume-driver-img-1.0.0.tar.gz

Test

To test these docker images, first the docker images must be loaded through the mechanism described in the install step. Once the images are loaded then the ibm-powervc-k8s-volume-driver helm chart must be installed so that the flex driver and provisioner are registered within Kubernetes. From this point a persistent volume claim can be created, using the ibm-powervc-k8s-volume-default storage class, and then pods/containers can be deployed using this persistent volume claim to mount storage to the given containers.

IBM PowerVC CSI Driver

Knowledge Center Documentation:

Installation/Configuration Steps

Templates

The following 3 templates for PowerVC CSI Driver are available here:

Sample scripts are available here:

Examples

power-openstack-k8s-volume-driver's People

Contributors

gautpras avatar gitsridhar avatar sreenme1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.