-
Notifications
You must be signed in to change notification settings - Fork 159
Update csi-attacher to v4.2.0 #1144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update csi-attacher to v4.2.0 #1144
Conversation
Skipping CI for Draft Pull Request. |
/ok-to-test |
/assign @leiyiz |
100cf1f
to
cf727bb
Compare
@@ -0,0 +1,4 @@ | |||
# Set max-grpc-log-length for attacher sidecar. | |||
- op: add | |||
path: /spec/template/spec/containers/0/args/- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, and the local build is:
- args:
- --v=5
- --csi-address=/csi/csi.sock
- --http-endpoint=:22012
- --leader-election
- --leader-election-namespace=$(PDCSI_NAMESPACE)
- --timeout=250s
- --max-grpc-log-length=10000
env:
- name: PDCSI_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: k8s.gcr.io/sig-storage/csi-attacher:v4.2.0
livenessProbe:
failureThreshold: 1
httpGet:
path: /healthz/leader-election
port: http-endpoint
initialDelaySeconds: 10
periodSeconds: 20
timeoutSeconds: 10
name: csi-attacher
ports:
- containerPort: 22012
name: http-endpoint
protocol: TCP
volumeMounts:
- mountPath: /csi
name: socket-di
08ad883
to
d2b9aa4
Compare
That is pointing to csi-provisioner arg, but this is for csi-attacher. |
Add the default-fstype and build the yaml again
|
d2b9aa4
to
5d6a25b
Compare
From the log:
/retest |
e2e tests constantly failing with:
There is ongoing issue with the prow test: https://kubernetes.slack.com/archives/C09QZ4DQB/p1676561497236049 |
The issue still exists: kubernetes/test-infra#27157 (comment) It happens in a once per year base in the past: kubernetes/test-infra#27157 |
Key has been rotated. /retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msau42, sunnylovestiramisu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…k-of-#1144-upstream-release-1.9 Automated cherry pick of #1144: Update csi-attacher to v4.2.0
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Update csi-attacher to https://github.com/kubernetes-csi/external-attacher/releases/tag/v4.2.0
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
The rbac file hasn't changed for 3 years.
Changelog from 3.5.0 to 4.2.0 shows that the added flag is: --max-grpc-log-length. In external-attacher it is set to -1. But in the driver there is a default 10000. We need to set this value at the csi-attacher side.
The breaking change from 3.x.x to 4.x.x is --default-fstype, and we need to set that value here. For windows, we've had an explicit storageclass that sets the fstype to ntfs, the default-fstype flag will not do anything for windows.
Does this PR introduce a user-facing change?: