Skip to content
Snippets Groups Projects
README.md 1.28 KiB
Newer Older
# OpenvCloud CSI driver

Chris Van de Gejuchte's avatar
Chris Van de Gejuchte committed
This repo implements the CSI spec v1.1.0 for [GIG.tech's OpenvCloud](https://gig.tech)
## Ansible role CSI-Driver

katia-e's avatar
katia-e committed
OVC CSI driver can be installed with Ansible role [csi-driver](roles/csi-driver)
Sample playbook `install-csi-driver.yaml`:

``` yaml
- hosts: localhost
  vars:
    server_url: ""   # G8's URL
    account: ""      # account name
    client_jwt: ""   # itsyou.online jwt token
Ekaterina Evdokimova's avatar
Ekaterina Evdokimova committed
    state: installed # define CSI driver state : ["installed", "uninstalled"]. Default to "installed"
  roles:
    - {role: csi-driver}
```

To run the playbook on your `localhost` execute

``` yaml
ansible-playbook install-csi-driver.yaml
```
Chris Van de Gejuchte's avatar
Chris Van de Gejuchte committed
## Example

This repo includes an example of how to set up a kubernetes cluster on a G8 with CSI driver setup and example deployment which can be found in the [example folder](./example/README.md)

## Known issues

- The pod of your application not redeploy to a new node when it's worker node VM is abruptly shutdown as it won't be able to detach the mounted disk. The kubernetes cluster will recover after the worker VM is back up again.

Chris Van de Gejuchte's avatar
Chris Van de Gejuchte committed
- Not implemented methods of the CSI spec:  
    - GetCapacity
    - ControllerExpandVolume
    - CreateSnapshot
    - DeleteSnapshot
    - ListSnapshots
    - NodeGetVolumeStats
    - NodeExpandVolume