aws: Update EBS CSI driver to v1.47.0

This commit is contained in:
Ciprian Hacman 2025-08-11 08:44:46 +03:00
parent 93c7490597
commit e54132c827
2 changed files with 551 additions and 540 deletions

View File

@ -43,8 +43,7 @@ func (b *AWSEBSCSIDriverOptionsBuilder) BuildOptions(o *kops.Cluster) error {
c := aws.EBSCSIDriver
if c.Version == nil {
version := "v1.38.1"
c.Version = &version
c.Version = fi.PtrTo("v1.47.0")
}
return nil

View File

@ -1,4 +1,4 @@
# helm template aws-ebs-csi-driver . -n kube-system \
#helm template aws-ebs-csi-driver aws-ebs-csi-driver/aws-ebs-csi-driver -n kube-system \
# --set controller.volumeModificationFeature.enabled=true \
# --set sidecars.snapshotter.forceEnable=true \
# --set controller.enableMetrics=true \
@ -91,7 +91,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "patch"]
verbs: ["get", "patch", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch"]
@ -224,7 +224,7 @@ rules:
verbs: ["get", "list", "watch", "update", "patch", "create"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents"]
verbs: ["get", "list", "watch", "update", "patch", "create"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["snapshot.storage.k8s.io"]
resources: ["volumesnapshotcontents/status"]
verbs: ["update", "patch"]
@ -460,7 +460,7 @@ spec:
runAsUser: 0
containers:
- name: ebs-plugin
image: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:{{ .Version }}
image: registry.k8s.io/provider-aws/aws-ebs-csi-driver:{{ .Version }}
imagePullPolicy: IfNotPresent
args:
- node
@ -470,7 +470,7 @@ spec:
- --volume-attach-limit={{ .VolumeAttachLimit }}
{{- end }}
- --logging-format=text
- --v=2
- --v=5
env:
{{- if IsIPv6Only }}
- name: AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE
@ -510,6 +510,13 @@ spec:
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 5
readinessProbe:
httpGet:
path: /healthz
port: healthz
timeoutSeconds: 3
periodSeconds: 5
failureThreshold: 3
resources:
limits:
memory: 256Mi
@ -524,12 +531,12 @@ spec:
exec:
command: ["/bin/aws-ebs-csi-driver", "pre-stop-hook"]
- name: node-driver-registrar
image: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar:v2.12.0-eks-1-32-1
image: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.14.0
imagePullPolicy: IfNotPresent
args:
- --csi-address=$(ADDRESS)
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
- --v=2
- --v=5
env:
- name: ADDRESS
value: /csi/csi.sock
@ -561,7 +568,7 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
- name: liveness-probe
image: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe:v2.14.0-eks-1-32-1
image: registry.k8s.io/sig-storage/livenessprobe:v2.16.0
imagePullPolicy: IfNotPresent
args:
- --csi-address=/csi/csi.sock
@ -727,7 +734,7 @@ spec:
runAsUser: 1000
containers:
- name: ebs-plugin
image: public.ecr.aws/ebs-csi-driver/aws-ebs-csi-driver:{{ .Version }}
image: registry.k8s.io/provider-aws/aws-ebs-csi-driver:{{ .Version }}
imagePullPolicy: IfNotPresent
args:
- controller
@ -807,7 +814,7 @@ spec:
seccompProfile:
type: RuntimeDefault
- name: csi-provisioner
image: public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner:v5.1.0-eks-1-32-1
image: registry.k8s.io/sig-storage/csi-provisioner:v5.3.0
imagePullPolicy: IfNotPresent
args:
- --timeout=60s
@ -839,10 +846,10 @@ spec:
seccompProfile:
type: RuntimeDefault
- name: csi-attacher
image: public.ecr.aws/eks-distro/kubernetes-csi/external-attacher:v4.7.0-eks-1-32-1
image: registry.k8s.io/sig-storage/csi-attacher:v4.9.0
imagePullPolicy: IfNotPresent
args:
- --timeout=60s
- --timeout=6m
- --csi-address=$(ADDRESS)
- --v=5
- --leader-election=true
@ -869,7 +876,7 @@ spec:
type: RuntimeDefault
{{ if HasSnapshotController }}
- name: csi-snapshotter
image: public.ecr.aws/eks-distro/kubernetes-csi/external-snapshotter/csi-snapshotter:v8.1.0-eks-1-32-1
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.3.0
imagePullPolicy: IfNotPresent
args:
- --csi-address=$(ADDRESS)
@ -898,8 +905,11 @@ spec:
seccompProfile:
type: RuntimeDefault
{{ end }}
{{ if IsKubernetesLT "1.31.0" }}
# volume-modifier-for-k8s is no longer needed starting with Kubernetes 1.31.
# https://github.com/awslabs/volume-modifier-for-k8s/issues/46
- name: volumemodifier
image: public.ecr.aws/ebs-csi-driver/volume-modifier-for-k8s:v0.5.0
image: public.ecr.aws/ebs-csi-driver/volume-modifier-for-k8s:v0.7.0
imagePullPolicy: IfNotPresent
args:
- --timeout=60s
@ -931,11 +941,13 @@ spec:
readOnlyRootFilesystem: true
seccompProfile:
type: RuntimeDefault
{{ end }}
- name: csi-resizer
image: public.ecr.aws/eks-distro/kubernetes-csi/external-resizer:v1.12.0-eks-1-32-1
image: registry.k8s.io/sig-storage/csi-resizer:v1.14.0
imagePullPolicy: IfNotPresent
args:
- --timeout=60s
- --extra-modify-metadata
- --csi-address=$(ADDRESS)
- --v=5
- --handle-volume-inuse-error=false
@ -962,7 +974,7 @@ spec:
seccompProfile:
type: RuntimeDefault
- name: liveness-probe
image: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe:v2.14.0-eks-1-32-1
image: registry.k8s.io/sig-storage/livenessprobe:v2.16.0
imagePullPolicy: IfNotPresent
args:
- --csi-address=/csi/csi.sock