From f0ecf69dc0cd13964c5fac0379234671b832e3e7 Mon Sep 17 00:00:00 2001 From: Jacob Wolf Date: Tue, 23 May 2023 14:47:46 +0000 Subject: [PATCH 1/2] Release 0.10.0 part 1/3: CHANGELOG, README, Makefile, install --- CHANGELOG-0.x.md | 11 +++++++++++ Makefile | 2 +- docs/README.md | 36 ++++++++++++++++++------------------ docs/install.md | 4 +--- 4 files changed, 31 insertions(+), 22 deletions(-) diff --git a/CHANGELOG-0.x.md b/CHANGELOG-0.x.md index f03a41d2..59c0a688 100644 --- a/CHANGELOG-0.x.md +++ b/CHANGELOG-0.x.md @@ -1,3 +1,14 @@ +# v0.10.0 + +### Misc. +* Have CSI driver use 2.12 Lustre client ([#293](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/293), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Add inflight checks to Create and Delete RPCs ([#309](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/309), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Modularize Node Service and Controller Service ([#309](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/309), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Increase MaxRetries for AWS client ([#309](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/309), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Implement operating modes ([#309](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/309), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Enable json logging ([#309](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/309), [@jacobwolfaws](https://github.com/jacobwolfaws)) +* Add Startup Taint Removal Feature ([#311](https://github.com/kubernetes-sigs/aws-fsx-csi-driver/pull/311), [@jacobwolfaws](https://github.com/jacobwolfaws)) + # v0.9.0 ### Misc. diff --git a/Makefile b/Makefile index aa2b5f15..2672dba6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -VERSION?=v0.9.0 +VERSION?=v0.10.0 PKG=sigs.k8s.io/aws-fsx-csi-driver GIT_COMMIT?=$(shell git rev-parse HEAD) diff --git a/docs/README.md b/docs/README.md index 5de473eb..2d8dd149 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,7 +14,7 @@ For installation and deployment instructions, please refer to our [installation ### CSI Specification Compatibility Matrix | AWS FSx for Lustre CSI Driver \ CSI Version | v0.3.0 | v1.x.x | |---------------------------------------------|--------|--------| -| master branch | no | yes | +| v0.10.0 | no | yes | | v0.9.0 | no | yes | | v0.8.3 | no | yes | | v0.8.2 | no | yes | @@ -41,7 +41,7 @@ The following sections are Kubernetes-specific. If you are a Kubernetes user, us ### Kubernetes Version Compatibility Matrix | AWS FSx for Lustre CSI Driver \ Kubernetes Version | v1.11 | v1.12 | v1.13 | v1.14-16 | v1.17+ | |----------------------------------------------------|-------|-------|-------|----------|--------| -| master branch | no | no | no | no | yes | +| v0.10.0 | no | no | no | no | yes | | v0.9.0 | no | no | no | no | yes | | v0.8.3 | no | no | no | no | yes | | v0.8.2 | no | no | no | no | yes | @@ -57,22 +57,22 @@ The following sections are Kubernetes-specific. If you are a Kubernetes user, us | v0.1.0 | yes | yes | yes | no | no | ### Container Images -| FSx CSI Driver Version | Image | -|------------------------|----------------------------------| -| master branch | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:latest | -| v0.9.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.9.0 | -| v0.8.3 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.3 | -| v0.8.2 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.2 | -| v0.8.1 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.1 | -| v0.8.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.0 | -| v0.7.1 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.7.1 | -| v0.7.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.7.0 | -| v0.6.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.6.0 | -| v0.5.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.5.0 | -| v0.4.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.4.0 | -| v0.3.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.3.0 | -| v0.2.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.2.0 | -| v0.1.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.1.0 | +| FSx CSI Driver Version | Image | +|------------------------|----------------------------------------------------------| +| v0.10.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.10.0 | +| v0.9.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.9.0 | +| v0.8.3 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.3 | +| v0.8.2 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.2 | +| v0.8.1 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.1 | +| v0.8.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.8.0 | +| v0.7.1 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.7.1 | +| v0.7.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.7.0 | +| v0.6.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.6.0 | +| v0.5.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.5.0 | +| v0.4.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.4.0 | +| v0.3.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.3.0 | +| v0.2.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.2.0 | +| v0.1.0 | public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.1.0 | ### Features * Static provisioning - FSx for Lustre file system needs to be created manually first, then it could be mounted inside container as a volume using the Driver. diff --git a/docs/install.md b/docs/install.md index 901ba1d8..704c25a2 100644 --- a/docs/install.md +++ b/docs/install.md @@ -6,8 +6,6 @@ * If you are using a self managed cluster, ensure the flag `--allow-privileged=true` for `kube-apiserver`. -* Important: If you intend to use the Volume Snapshot feature, the [Kubernetes Volume Snapshot CRDs](https://github.com/kubernetes-csi/external-snapshotter/tree/master/client/config/crd) must be installed **before** the FSx for OpenZFS CSI driver. For installation instructions, see [CSI Snapshotter Usage](https://github.com/kubernetes-csi/external-snapshotter#usage). - ## Installation ### Set up driver permissions The driver requires IAM permissions to interact with the Amazon FSx for Lustre service to create/delete file systems and volumes on the user's behalf. @@ -87,7 +85,7 @@ You may deploy the FSx for Lustre CSI driver via Kustomize or Helm #### Kustomize ```sh -kubectl apply -k "github.com/kubernetes-sigs/aws-fsx-csi-driver/deploy/kubernetes/overlays/stable/?ref=master" +kubectl apply -k "github.com/kubernetes-sigs/aws-fsx-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-0.10" ``` *Note: Using the master branch to deploy the driver is not supported as the master branch may contain upcoming features incompatible with the currently released stable version of the driver.* From 9f725427c709b9ab1395262cc5e565d14b73a153 Mon Sep 17 00:00:00 2001 From: Jacob Wolf Date: Tue, 23 May 2023 20:59:22 +0000 Subject: [PATCH 2/2] Release 0.10.0 part 2/3: helm and kustomize --- charts/aws-fsx-csi-driver/CHANGELOG.md | 7 +++++++ charts/aws-fsx-csi-driver/Chart.yaml | 4 ++-- charts/aws-fsx-csi-driver/values.yaml | 2 +- deploy/kubernetes/base/controller-deployment.yaml | 2 +- deploy/kubernetes/base/node-daemonset.yaml | 2 +- deploy/kubernetes/overlays/stable/ecr/kustomization.yaml | 2 +- 6 files changed, 13 insertions(+), 6 deletions(-) diff --git a/charts/aws-fsx-csi-driver/CHANGELOG.md b/charts/aws-fsx-csi-driver/CHANGELOG.md index dec4c587..98abe05a 100644 --- a/charts/aws-fsx-csi-driver/CHANGELOG.md +++ b/charts/aws-fsx-csi-driver/CHANGELOG.md @@ -1,5 +1,12 @@ # Helm chart +# v1.6.0 +* Use driver image 0.10.0 +* Add driver modes for controller and node pods +* Allow for json logging +* parametrized pod tolerations +* Added support for startup taint (please see install documentation for more information) + # v1.5.1 * Support controller pod annotations in helm chart * Support node pod annotations in helm chart diff --git a/charts/aws-fsx-csi-driver/Chart.yaml b/charts/aws-fsx-csi-driver/Chart.yaml index b1dc4c32..39eb5a3e 100644 --- a/charts/aws-fsx-csi-driver/Chart.yaml +++ b/charts/aws-fsx-csi-driver/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: "0.9.0" +appVersion: "0.10.0" name: aws-fsx-csi-driver description: A Helm chart for AWS FSx for Lustre CSI Driver -version: 1.5.1 +version: 1.6.0 kubeVersion: ">=1.17.0-0" home: https://github.com/kubernetes-sigs/aws-fsx-csi-driver sources: diff --git a/charts/aws-fsx-csi-driver/values.yaml b/charts/aws-fsx-csi-driver/values.yaml index 0bf72932..cab65cfa 100644 --- a/charts/aws-fsx-csi-driver/values.yaml +++ b/charts/aws-fsx-csi-driver/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver - tag: v0.9.0 + tag: v0.10.0 pullPolicy: IfNotPresent csidriver: diff --git a/deploy/kubernetes/base/controller-deployment.yaml b/deploy/kubernetes/base/controller-deployment.yaml index f6fd5ba4..8aec6711 100644 --- a/deploy/kubernetes/base/controller-deployment.yaml +++ b/deploy/kubernetes/base/controller-deployment.yaml @@ -31,7 +31,7 @@ spec: tolerationSeconds: 300 containers: - name: fsx-plugin - image: public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.9.0 + image: public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.10.0 imagePullPolicy: IfNotPresent args: - --mode=controller diff --git a/deploy/kubernetes/base/node-daemonset.yaml b/deploy/kubernetes/base/node-daemonset.yaml index 7cdd51ea..a065eafc 100644 --- a/deploy/kubernetes/base/node-daemonset.yaml +++ b/deploy/kubernetes/base/node-daemonset.yaml @@ -29,7 +29,7 @@ spec: - name: fsx-plugin securityContext: privileged: true - image: public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.9.0 + image: public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver:v0.10.0 imagePullPolicy: IfNotPresent args: - --mode=node diff --git a/deploy/kubernetes/overlays/stable/ecr/kustomization.yaml b/deploy/kubernetes/overlays/stable/ecr/kustomization.yaml index ac57ffa6..1d428a56 100644 --- a/deploy/kubernetes/overlays/stable/ecr/kustomization.yaml +++ b/deploy/kubernetes/overlays/stable/ecr/kustomization.yaml @@ -5,4 +5,4 @@ bases: images: - name: public.ecr.aws/fsx-csi-driver/aws-fsx-csi-driver newName: 602401143452.dkr.ecr.us-west-2.amazonaws.com/eks/aws-fsx-csi-driver - newTag: v0.9.0 + newTag: v0.10.0