Skip to content
Snippets Groups Projects
Commit d93a38ba authored by Sheng Yang's avatar Sheng Yang
Browse files

Local Path Provisioner v0.0.2 release

Also remove support for Kubernetes v1.11.
parent f1f993e2
No related branches found
No related tags found
No related merge requests found
...@@ -16,34 +16,10 @@ Dynamic provisioning the volume using host path. ...@@ -16,34 +16,10 @@ Dynamic provisioning the volume using host path.
2. Only support `hostPath` 2. Only support `hostPath`
## Requirement ## Requirement
Minimal Kubernetes v1.11+. Recommend Kubernetes v1.12+. Kubernetes v1.12+.
## Deployment ## 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 ### 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. 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.
......
...@@ -60,7 +60,7 @@ spec: ...@@ -60,7 +60,7 @@ spec:
serviceAccountName: local-path-provisioner-service-account serviceAccountName: local-path-provisioner-service-account
containers: containers:
- name: local-path-provisioner - name: local-path-provisioner
image: rancher/local-path-provisioner:v0.0.1 image: rancher/local-path-provisioner:v0.0.2
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- local-path-provisioner - local-path-provisioner
......
...@@ -16,7 +16,7 @@ spec: ...@@ -16,7 +16,7 @@ spec:
serviceAccountName: local-path-provisioner-service-account serviceAccountName: local-path-provisioner-service-account
containers: containers:
- name: local-path-provisioner - name: local-path-provisioner
image: rancher/local-path-provisioner:v0.0.1 image: rancher/local-path-provisioner:v0.0.2
imagePullPolicy: Always imagePullPolicy: Always
command: command:
- local-path-provisioner - local-path-provisioner
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment