From 2040202f2edb2708607bdae51475529e659e528d Mon Sep 17 00:00:00 2001 From: Marco Fortina Date: Thu, 28 Jul 2022 17:10:22 +0200 Subject: [PATCH] Update to latest vSphere VCP/CSI versions --- docs/vsphere-csi.md | 18 +++++++++--------- inventory/sample/group_vars/all/vsphere.yml | 14 +++++++------- .../csi_driver/vsphere/defaults/main.yml | 18 +++++++++--------- .../vsphere/defaults/main.yml | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/vsphere-csi.md b/docs/vsphere-csi.md index d975f7749..070708a61 100644 --- a/docs/vsphere-csi.md +++ b/docs/vsphere-csi.md @@ -24,16 +24,16 @@ You need to source the vSphere credentials you use to deploy your machines that | external_vsphere_datacenter | TRUE | string | | | Datacenter name to use | | external_vsphere_kubernetes_cluster_id | TRUE | string | | "kubernetes-cluster-id" | Kubernetes cluster ID to use | | external_vsphere_version | TRUE | string | | "6.7u3" | Vmware Vsphere version where located all VMs | -| external_vsphere_cloud_controller_image_tag | TRUE | string | | "latest" | Kubernetes cluster ID to use | -| vsphere_syncer_image_tag | TRUE | string | | "v2.2.1" | Syncer image tag to use | -| vsphere_csi_attacher_image_tag | TRUE | string | | "v3.1.0" | CSI attacher image tag to use | -| vsphere_csi_controller | TRUE | string | | "v2.2.1" | CSI controller image tag to use | +| external_vsphere_cloud_controller_image_tag | TRUE | string | | "v1.24.0" | Kubernetes cluster ID to use | +| vsphere_syncer_image_tag | TRUE | string | | "v2.6.0" | Syncer image tag to use | +| vsphere_csi_attacher_image_tag | TRUE | string | | "v3.5.0" | CSI attacher image tag to use | +| vsphere_csi_controller | TRUE | string | | "v2.6.0" | CSI controller image tag to use | | vsphere_csi_controller_replicas | TRUE | integer | | 1 | Number of pods Kubernetes should deploy for the CSI controller | -| vsphere_csi_liveness_probe_image_tag | TRUE | string | | "v2.2.0" | CSI liveness probe image tag to use | -| vsphere_csi_provisioner_image_tag | TRUE | string | | "v2.1.0" | CSI provisioner image tag to use | -| vsphere_csi_node_driver_registrar_image_tag | TRUE | string | | "v1.1.0" | CSI node driver registrat image tag to use | -| vsphere_csi_driver_image_tag | TRUE | string | | "v1.0.2" | CSI driver image tag to use | -| vsphere_csi_resizer_tag | TRUE | string | | "v1.1.0" | CSI resizer image tag to use +| vsphere_csi_liveness_probe_image_tag | TRUE | string | | "v2.7.0" | CSI liveness probe image tag to use | +| vsphere_csi_provisioner_image_tag | TRUE | string | | "v3.2.1" | CSI provisioner image tag to use | +| vsphere_csi_node_driver_registrar_image_tag | TRUE | string | | "v2.5.1" | CSI node driver registrat image tag to use | +| vsphere_csi_driver_image_tag | TRUE | string | | "v2.6.0" | CSI driver image tag to use | +| vsphere_csi_resizer_tag | TRUE | string | | "v1.5.0" | CSI resizer image tag to use | vsphere_csi_aggressive_node_drain | FALSE | boolean | | false | Enable aggressive node drain strategy | | vsphere_csi_aggressive_node_unreachable_timeout | FALSE | int | 300 | | Timeout till node will be drained when it in an unreachable state | | vsphere_csi_aggressive_node_not_ready_timeout | FALSE | int | 300 | | Timeout till node will be drained when it in not-ready state | diff --git a/inventory/sample/group_vars/all/vsphere.yml b/inventory/sample/group_vars/all/vsphere.yml index af3cfbe28..fce046ac0 100644 --- a/inventory/sample/group_vars/all/vsphere.yml +++ b/inventory/sample/group_vars/all/vsphere.yml @@ -12,20 +12,20 @@ ## Tags for the external vSphere Cloud Provider images ## gcr.io/cloud-provider-vsphere/cpi/release/manager -# external_vsphere_cloud_controller_image_tag: "latest" +# external_vsphere_cloud_controller_image_tag: "v1.24.0" ## gcr.io/cloud-provider-vsphere/csi/release/syncer -# vsphere_syncer_image_tag: "v2.5.1" +# vsphere_syncer_image_tag: "v2.6.0" ## registry.k8s.io/sig-storage/csi-attacher -# vsphere_csi_attacher_image_tag: "v3.4.0" +# vsphere_csi_attacher_image_tag: "v3.5.0" ## gcr.io/cloud-provider-vsphere/csi/release/driver -# vsphere_csi_controller: "v2.5.1" +# vsphere_csi_controller: "v2.6.0" ## registry.k8s.io/sig-storage/livenessprobe -# vsphere_csi_liveness_probe_image_tag: "v2.6.0" +# vsphere_csi_liveness_probe_image_tag: "v2.7.0" ## registry.k8s.io/sig-storage/csi-provisioner -# vsphere_csi_provisioner_image_tag: "v3.1.0" +# vsphere_csi_provisioner_image_tag: "v3.2.1" ## registry.k8s.io/sig-storage/csi-resizer ## makes sense only for vSphere version >=7.0 -# vsphere_csi_resizer_tag: "v1.3.0" +# vsphere_csi_resizer_tag: "v1.5.0" ## To use vSphere CSI plugin to provision volumes set this value to true # vsphere_csi_enabled: true diff --git a/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml b/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml index 95a2c5e9b..698b94b84 100644 --- a/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml +++ b/roles/kubernetes-apps/csi_driver/vsphere/defaults/main.yml @@ -4,15 +4,15 @@ external_vsphere_insecure: "true" external_vsphere_kubernetes_cluster_id: "kubernetes-cluster-id" external_vsphere_version: "7.0u1" -vsphere_syncer_image_tag: "v2.5.1" -vsphere_csi_attacher_image_tag: "v3.4.0" -vsphere_csi_controller: "v2.5.1" -vsphere_csi_liveness_probe_image_tag: "v2.6.0" -vsphere_csi_provisioner_image_tag: "v3.1.0" -vsphere_csi_snapshotter_image_tag: "v5.0.1" -vsphere_csi_node_driver_registrar_image_tag: "v2.5.0" -vsphere_csi_driver_image_tag: "v2.5.1" -vsphere_csi_resizer_tag: "v1.4.0" +vsphere_syncer_image_tag: "v2.6.0" +vsphere_csi_attacher_image_tag: "v3.5.0" +vsphere_csi_controller: "v2.6.0" +vsphere_csi_liveness_probe_image_tag: "v2.7.0" +vsphere_csi_provisioner_image_tag: "v3.2.1" +vsphere_csi_snapshotter_image_tag: "v6.0.1" +vsphere_csi_node_driver_registrar_image_tag: "v2.5.1" +vsphere_csi_driver_image_tag: "v2.6.0" +vsphere_csi_resizer_tag: "v1.5.0" vsphere_csi_controller_replicas: 1 diff --git a/roles/kubernetes-apps/external_cloud_controller/vsphere/defaults/main.yml b/roles/kubernetes-apps/external_cloud_controller/vsphere/defaults/main.yml index 91b126ed9..457324733 100644 --- a/roles/kubernetes-apps/external_cloud_controller/vsphere/defaults/main.yml +++ b/roles/kubernetes-apps/external_cloud_controller/vsphere/defaults/main.yml @@ -8,7 +8,7 @@ external_vsphere_insecure: "true" ## arg1: "value1" ## arg2: "value2" external_vsphere_cloud_controller_extra_args: {} -external_vsphere_cloud_controller_image_tag: "latest" +external_vsphere_cloud_controller_image_tag: "v1.24.0" external_vsphere_user: "{{ lookup('env','VSPHERE_USER') }}" external_vsphere_password: "{{ lookup('env','VSPHERE_PASSWORD') }}"