From d93a38baf1398ae160abefa2a07fa25e509f7bff Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Mon, 15 Oct 2018 16:10:22 -0700 Subject: [PATCH] Local Path Provisioner v0.0.2 release Also remove support for Kubernetes v1.11. --- README.md | 26 +------------------------- deploy/local-path-storage.yaml | 2 +- deploy/provisioner.yaml | 2 +- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 237fafd08..4ced68d90 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/deploy/local-path-storage.yaml b/deploy/local-path-storage.yaml index b7d2cc5c0..537f07614 100644 --- a/deploy/local-path-storage.yaml +++ b/deploy/local-path-storage.yaml @@ -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 diff --git a/deploy/provisioner.yaml b/deploy/provisioner.yaml index 02aafdb21..2796727d7 100644 --- a/deploy/provisioner.yaml +++ b/deploy/provisioner.yaml @@ -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