Skip to content

Commit

Permalink
Merge pull request #18 from krunaljain/feature/documentation_update
Browse files Browse the repository at this point in the history
Updating documentation and demo-sc to encorperate IP reservation changes
  • Loading branch information
k8s-ci-robot authored Aug 10, 2018
2 parents ee1c110 + caf08d2 commit ec7daee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,18 @@ This plugin can be used beginning with Kubernetes v1.10.5
This version of the driver creates a new Cloud Filestore instance per
volume. Customizable parameters for volume creation include:

| Parameter | Values | Default | Description |
| --------------- | ----------------------- |----------- | ----------- |
| tier | "standard"<br>"premium" | "standard" | storage performance tier |
| network | string | "default" | VPC name |
| location | string | zone where the plugin<br>is running in | zone |
| Parameter | Values | Default | Description |
| ------------------| ----------------------- |----------- | ----------- --------------------------------------------------------------------------------------------------------------------------- |
| tier | "standard"<br>"premium" | "standard" | storage performance tier |
| network | string | "default" | VPC name |
| location | string | zone where the plugin<br>is running in | zone |
| reserved-ipv4-cidr| string | "" | CIDR range to allocate Filestore IP Ranges from. The CIDR must be large enough to accommodate multiple Filestore IP Ranges of /29 each |

For Kubernetes clusters, these parameters are specified in the StorageClass.

Note that non-default networks require extra [firewall setup](https://cloud.google.com/filestore/docs/configuring-firewall)

## Future Features
* Reserved IP range: To avoid IP conflict issues, add a CreateVolume parameter
to provide an IP block that is reserved for dynamically provisioning GCFS instances.
* Non-root access: By default, GCFS instances are only writable by the root user
and readable by all users. Provide a CreateVolume parameter to set non-root
owners.
Expand Down
2 changes: 2 additions & 0 deletions examples/kubernetes/demo-sc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ provisioner: com.google.csi.filestore
parameters:
# Available locations can be found at: TODO
location: us-central1-c
# "CIDR range to allocate Filestore IP Ranges from"
# reserved-ipv4-cidr: 192.168.92.22/26
# # standard (default) or premier
# tier: premier
# # Name of the VPC. Note that non-default VPCs require special firewall rules to be setup: TODO
Expand Down

0 comments on commit ec7daee

Please sign in to comment.