diff --git a/README.md b/README.md index 8a0cd1c10..cc717c12a 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,7 @@ provisioning. * [Best Practices](#best-practices) - [Version Compatibility](#version-compatibility) - [K8s Feature Status](#k8s-feature-status) - * [1.14: GA](#114-ga) - * [1.12: Beta](#112-beta) - * [1.10: Beta](#110-beta) - * [1.9: Alpha](#19-alpha) - * [1.7: Alpha](#17-alpha) + * GA from 1.14 * [Future features](#future-features) - [E2E Tests](#e2e-tests) * [Running](#running) @@ -95,53 +91,21 @@ See [Best Practices](docs/best-practices.md). Recommended provisioner versions with Kubernetes versions -| Provisioner version | K8s version | Reason | -| ------------------- | ------------- | ------------------------- | -| [2.6.0][6] | 1.12+ | | -| [2.5.0][5] | 1.12+ | | -| [2.4.0][4] | 1.12+ | fs on block support | -| [2.2.0][3] | 1.10 | Beta API default, block | -| [2.0.0][2] | 1.8, 1.9 | Mount propagation | -| [1.0.1][1] | 1.7 | | - -[1]: https://github.com/kubernetes-incubator/external-storage/tree/local-volume-provisioner-v1.0.1/local-volume -[2]: https://github.com/kubernetes-incubator/external-storage/tree/local-volume-provisioner-v2.0.0/local-volume -[3]: https://github.com/kubernetes-incubator/external-storage/tree/local-volume-provisioner-v2.2.0/local-volume -[4]: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/v2.4.0 +| Provisioner version | K8s version | +| ------------------- | ------------- | +| [2.7.0][7] | 1.21+ | +| [2.6.0][6] | 1.12+ | +| [2.5.0][5] | 1.12+ | + [5]: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/v2.5.0 [6]: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/v2.6.0 +[7]: https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/v2.7.0 ## K8s Feature Status Also see [known issues](KNOWN_ISSUES.md) and [CHANGELOG](CHANGELOG.md). -### 1.14: GA - -* No new features added - -### 1.12: Beta - -* Added support for automatically formatting a filesystem on the given block device in `localVolumeSource.path` - -### 1.10: Beta - -* New PV.NodeAffinity field added. -* **Important:** Alpha PV NodeAffinity annotation is deprecated. Users must manually update - their PVs to use the new NodeAffinity field or run a [one-time update job](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner/tree/master/cmd/utils/update-pv-to-beta). -* Alpha: Raw block support added. - -### 1.9: Alpha - -* New StorageClass `volumeBindingMode` parameter that will delay PVC binding - until a pod is scheduled. - -### 1.7: Alpha - -* New `local` PersistentVolume source that allows specifying a directory or mount - point with node affinity. -* Pod using the PVC that is bound to this PV will always get scheduled to that node. - ### Future features * Local block devices as a volume source, with partitioning and fs formatting diff --git a/deployment/kubernetes/example/default_example_provisioner_generated.yaml b/deployment/kubernetes/example/default_example_provisioner_generated.yaml index 91f3ab618..b0e4fd24d 100644 --- a/deployment/kubernetes/example/default_example_provisioner_generated.yaml +++ b/deployment/kubernetes/example/default_example_provisioner_generated.yaml @@ -36,7 +36,7 @@ spec: spec: serviceAccountName: local-storage-admin containers: - - image: "registry.k8s.io/sig-storage/local-volume-provisioner:v2.4.0" + - image: "registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0" imagePullPolicy: "Always" name: provisioner securityContext: diff --git a/helm/README.md b/helm/README.md index 4b8c07f49..edbceb677 100644 --- a/helm/README.md +++ b/helm/README.md @@ -145,7 +145,7 @@ provisioner chart and their default values. | classes.[n].storageClass.provisioner | Specify provisioner of storage class. | str | `kubernetes.io/no-provisioner` | | podAnnotations | Annotations for each Pod in the DaemonSet. | map | `-` | | podLabels | Labels for each Pod in the DaemonSet. | map | `-` | -| image | Provisioner image. | str | `registry.k8s.io/sig-storage/local-volume-provisioner:v2.5.0` | +| image | Provisioner image. | str | `registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0` | | imagePullPolicy | Provisioner DaemonSet image pull policy. | str | `-` | | imagePullSecrets | Provisioner image pull secrets. | list | `-` | | priorityClassName | Provisioner DaemonSet Pod Priority Class name. | str | `` | diff --git a/helm/generated_examples/additional-volumes.yaml b/helm/generated_examples/additional-volumes.yaml index bc708eb14..796818269 100644 --- a/helm/generated_examples/additional-volumes.yaml +++ b/helm/generated_examples/additional-volumes.yaml @@ -122,7 +122,7 @@ spec: name: signal containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -135,7 +135,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-affinity.yaml b/helm/generated_examples/baremetal-affinity.yaml index fea4e50e0..c254d40f5 100644 --- a/helm/generated_examples/baremetal-affinity.yaml +++ b/helm/generated_examples/baremetal-affinity.yaml @@ -131,7 +131,7 @@ spec: - localssd containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -144,7 +144,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-cleanbyjobs.yaml b/helm/generated_examples/baremetal-cleanbyjobs.yaml index 854041dbe..24f8c4333 100644 --- a/helm/generated_examples/baremetal-cleanbyjobs.yaml +++ b/helm/generated_examples/baremetal-cleanbyjobs.yaml @@ -160,7 +160,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -173,7 +173,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-default-storage.yaml b/helm/generated_examples/baremetal-default-storage.yaml index 47ce3909d..0f7c673d0 100644 --- a/helm/generated_examples/baremetal-default-storage.yaml +++ b/helm/generated_examples/baremetal-default-storage.yaml @@ -120,7 +120,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -133,7 +133,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-nodeselector.yaml b/helm/generated_examples/baremetal-nodeselector.yaml index 860013c7a..6818b02a0 100644 --- a/helm/generated_examples/baremetal-nodeselector.yaml +++ b/helm/generated_examples/baremetal-nodeselector.yaml @@ -123,7 +123,7 @@ spec: localVolume: present containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -136,7 +136,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-priority-critical.yaml b/helm/generated_examples/baremetal-priority-critical.yaml index 451dfcca1..57e55412f 100644 --- a/helm/generated_examples/baremetal-priority-critical.yaml +++ b/helm/generated_examples/baremetal-priority-critical.yaml @@ -122,7 +122,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -135,7 +135,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-priority-noncritical.yaml b/helm/generated_examples/baremetal-priority-noncritical.yaml index 8a92eb9ce..24a5f613a 100644 --- a/helm/generated_examples/baremetal-priority-noncritical.yaml +++ b/helm/generated_examples/baremetal-priority-noncritical.yaml @@ -122,7 +122,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -135,7 +135,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-prometheus.yaml b/helm/generated_examples/baremetal-prometheus.yaml index c79822d60..43a197486 100644 --- a/helm/generated_examples/baremetal-prometheus.yaml +++ b/helm/generated_examples/baremetal-prometheus.yaml @@ -142,7 +142,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -155,7 +155,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-provisioner.yaml b/helm/generated_examples/baremetal-provisioner.yaml index 0328f129e..17c199da1 100644 --- a/helm/generated_examples/baremetal-provisioner.yaml +++ b/helm/generated_examples/baremetal-provisioner.yaml @@ -120,7 +120,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -133,7 +133,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-resyncperiod.yaml b/helm/generated_examples/baremetal-resyncperiod.yaml index 7ff3bac34..d9387c8c5 100644 --- a/helm/generated_examples/baremetal-resyncperiod.yaml +++ b/helm/generated_examples/baremetal-resyncperiod.yaml @@ -121,7 +121,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -134,7 +134,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-tolerations.yaml b/helm/generated_examples/baremetal-tolerations.yaml index af2ca6705..6aed8d6fe 100644 --- a/helm/generated_examples/baremetal-tolerations.yaml +++ b/helm/generated_examples/baremetal-tolerations.yaml @@ -128,7 +128,7 @@ spec: key: node-role.kubernetes.io/master containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -141,7 +141,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-with-resource-limits.yaml b/helm/generated_examples/baremetal-with-resource-limits.yaml index 5fbaf773c..c1b5c2a58 100644 --- a/helm/generated_examples/baremetal-with-resource-limits.yaml +++ b/helm/generated_examples/baremetal-with-resource-limits.yaml @@ -121,7 +121,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true resources: @@ -142,7 +142,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal-without-rbac.yaml b/helm/generated_examples/baremetal-without-rbac.yaml index 365ae23b0..e88c0b2f6 100644 --- a/helm/generated_examples/baremetal-without-rbac.yaml +++ b/helm/generated_examples/baremetal-without-rbac.yaml @@ -74,7 +74,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -87,7 +87,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/baremetal.yaml b/helm/generated_examples/baremetal.yaml index ed5450f9f..74139a058 100644 --- a/helm/generated_examples/baremetal.yaml +++ b/helm/generated_examples/baremetal.yaml @@ -121,7 +121,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -134,7 +134,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/eks-nvme-ssd.yaml b/helm/generated_examples/eks-nvme-ssd.yaml index 9935659b5..a28977704 100644 --- a/helm/generated_examples/eks-nvme-ssd.yaml +++ b/helm/generated_examples/eks-nvme-ssd.yaml @@ -117,7 +117,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -130,7 +130,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/gce-retain.yaml b/helm/generated_examples/gce-retain.yaml index 736bd157a..7916424ae 100644 --- a/helm/generated_examples/gce-retain.yaml +++ b/helm/generated_examples/gce-retain.yaml @@ -135,7 +135,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -148,7 +148,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/gce.yaml b/helm/generated_examples/gce.yaml index fe777aaa6..d447619bf 100644 --- a/helm/generated_examples/gce.yaml +++ b/helm/generated_examples/gce.yaml @@ -135,7 +135,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -148,7 +148,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/gke-nvme-ssd-block-raid.yaml b/helm/generated_examples/gke-nvme-ssd-block-raid.yaml index 41f01beed..084572d8f 100644 --- a/helm/generated_examples/gke-nvme-ssd-block-raid.yaml +++ b/helm/generated_examples/gke-nvme-ssd-block-raid.yaml @@ -118,7 +118,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -131,7 +131,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/generated_examples/gke.yaml b/helm/generated_examples/gke.yaml index aa96c67c3..d52ea9b3f 100644 --- a/helm/generated_examples/gke.yaml +++ b/helm/generated_examples/gke.yaml @@ -118,7 +118,7 @@ spec: kubernetes.io/os: linux containers: - name: provisioner - image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 securityContext: privileged: true env: @@ -131,7 +131,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: JOB_CONTAINER_IMAGE - value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 + value: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 ports: - name: metrics containerPort: 8080 diff --git a/helm/provisioner/values.yaml b/helm/provisioner/values.yaml index 576c8e25d..2987585dc 100644 --- a/helm/provisioner/values.yaml +++ b/helm/provisioner/values.yaml @@ -99,7 +99,7 @@ podAnnotations: {} podLabels: {} # Defines Provisioner's image name including container registry. -image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.6.0 +image: registry.k8s.io/sig-storage/local-volume-provisioner:v2.7.0 # Defines Image download policy, see kubernetes documentation for available values. # imagePullPolicy: Always