Skip to content

Commit

Permalink
Local Path Provisioner v0.0.2 release
Browse files Browse the repository at this point in the history
Also remove support for Kubernetes v1.11.
  • Loading branch information
yasker committed Oct 15, 2018
1 parent f1f993e commit d93a38b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
26 changes: 1 addition & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,10 @@ Dynamic provisioning the volume using host path.
2. Only support `hostPath`

## Requirement
Minimal Kubernetes v1.11+. Recommend Kubernetes v1.12+.
Kubernetes v1.12+.

## Deployment

### Prepare Kubernetes cluster
1. For Kubernetes v1.11, the feature gate `DynamicProvisioningScheduling` must be enabled on all Kubernetes components(`kube-scheduler`, `kube-controller-manager`, `kubelet`, `kube-api` and `kube-proxy`) on all Kubernetes cluster node.
1. For RKE, add following into the setup yaml file.
```
services:
kube-api:
extra_args:
feature-gates: "DynamicProvisioningScheduling=true"
kube-controller:
extra_args:
feature-gates: "DynamicProvisioningScheduling=true"
kubelet:
extra_args:
feature-gates: "DynamicProvisioningScheduling=true"
scheduler:
extra_args:
feature-gates: "DynamicProvisioningScheduling=true"
kubeproxy:
extra_args:
feature-gates: "DynamicProvisioningScheduling=true"
```
2. For Kubernetes v1.12+, no preparation is needed.
1. The feature gate `DynamicProvisioningScheduling` was combined with `VolumeScheduling` feature gate and was enabled by default.
### Installation

In this setup, the directory `/opt/local-path-provisioner` will be used across all the nodes as the path for provisioning (a.k.a, store the persistent volume data). The provisioner will be installed in `local-path-storage` namespace by default.
Expand Down
2 changes: 1 addition & 1 deletion deploy/local-path-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ spec:
serviceAccountName: local-path-provisioner-service-account
containers:
- name: local-path-provisioner
image: rancher/local-path-provisioner:v0.0.1
image: rancher/local-path-provisioner:v0.0.2
imagePullPolicy: Always
command:
- local-path-provisioner
Expand Down
2 changes: 1 addition & 1 deletion deploy/provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
serviceAccountName: local-path-provisioner-service-account
containers:
- name: local-path-provisioner
image: rancher/local-path-provisioner:v0.0.1
image: rancher/local-path-provisioner:v0.0.2
imagePullPolicy: Always
command:
- local-path-provisioner
Expand Down

0 comments on commit d93a38b

Please sign in to comment.