Skip to content

Commit

Permalink
Merge pull request #17 from alakae/volumes_per_node
Browse files Browse the repository at this point in the history
Use the current Limit as maxVolumesPerNode
  • Loading branch information
alakae authored May 25, 2020
2 parents 00bceb0 + 393e8c2 commit cfe5fc9
Show file tree
Hide file tree
Showing 7 changed files with 613 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## unreleased

## v1.1.2 - 2020.05.25

* Fix: Handle max. volumes per node limit correctly.
* Introduce new option `CLOUDSCALE_MAX_CSI_VOLUMES_PER_NODE`.

## v1.1.1 - 2020.04.28

* Fix a problem with resizing luks-encrypted volumes while they are attached and mounted.
Expand Down
31 changes: 25 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ secret `my-pvc-luks-key`.
## Releases

The cloudscale.ch CSI plugin follows [semantic versioning](https://semver.org/).
The current version is: **`v1.1.1`**. The project is still under active development and may not be
The current version is: **`v1.1.2`**. The project is still under active development and may not be
production ready.

* Bug fixes will be released as a `PATCH` update.
Expand Down Expand Up @@ -101,10 +101,10 @@ cloudscale Opaque 1 18h
Before you continue, be sure to checkout to a [tagged
release](https://github.com/cloudscale-ch/csi-cloudscale/releases).
Always use the [latest stable version](https://github.com/cloudscale-ch/csi-cloudscale/releases/latest)
For example, to use the latest stable version (`v1.1.1`) you can execute the following command:
For example, to use the latest stable version (`v1.1.2`) you can execute the following command:

```
$ kubectl apply -f https://raw.githubusercontent.com/cloudscale-ch/csi-cloudscale/master/deploy/kubernetes/releases/csi-cloudscale-v1.1.1.yaml
$ kubectl apply -f https://raw.githubusercontent.com/cloudscale-ch/csi-cloudscale/master/deploy/kubernetes/releases/csi-cloudscale-v1.1.2.yaml
```

There are also `dev` images available:
Expand Down Expand Up @@ -193,6 +193,25 @@ $ kubectl exec -ti my-csi-app /bin/sh
hello-world
```


## Advanced Configuration

Please use the following options with care.

### Max. Number of CSI Volumes per Node

By default a limit of 23 CSI volumes per node applies. If you want to use a different
value you can set the following environment variable for the `csi-cloudscale-plugin` container
in the `csi-cloudscale-node` DaemonSet:

```
env:
- name: CLOUDSCALE_MAX_CSI_VOLUMES_PER_NODE
value: '10'
```

Note that there is currently a hard-limit of 26 volumes (including root) per Node.

## Development

Requirements:
Expand Down Expand Up @@ -243,15 +262,15 @@ $ git push origin

After it's merged to master, [create a new Github
release](https://github.com/cloudscale-ch/csi-cloudscale/releases/new) from
master with the version `v1.1.1` and then publish a new docker build:
master with the version `v1.1.2` and then publish a new docker build:

```
$ git checkout master
$ make publish
```

This will create a binary with version `v1.1.1` and docker image pushed to
`cloudscalech/cloudscale-csi-plugin:v1.1.1`
This will create a binary with version `v1.1.2` and docker image pushed to
`cloudscalech/cloudscale-csi-plugin:v1.1.2`

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.1
v1.1.2
Loading

0 comments on commit cfe5fc9

Please sign in to comment.