Skip to content
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

SC Gardener aws-ebs-csi-driver image update #1080

Conversation

scs-gardener-team-gitlab
Copy link
Contributor

How to categorize this PR?

/area storage
/area control-plane
/area delivery
/kind bug
/platform aws

What this PR does / why we need it:
SC Gardener landscapes require the aws csi-driver to run in legacyXFS mode. To do this the parameter needs to be configurable inside of the values.yaml file as well as added to the daemonset if aforementioned parameter is set to True.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
Test manually. Paused the corresponding managed resource object, edited the csi-driver pod and its image for one of our cluster to use the 1.35.0 version. Then, edited the pod spec to include the extra legacyXFS patameter. The pod is running fine with no issues in legacyXFS mode.

Release note:

The following images are updated:
registry.k8s.io/provider-aws/aws-ebs-csi-driver: v1.29.0 -> v1.35.0

@gardener-robot gardener-robot added the needs/review Needs review label Oct 7, 2024
@CLAassistant
Copy link

CLAassistant commented Oct 7, 2024

CLA assistant check
All committers have signed the CLA.

@gardener-robot gardener-robot added area/control-plane Control plane related area/delivery Delivery related area/storage Storage related kind/bug Bug platform/aws Amazon web services platform/infrastructure labels Oct 7, 2024
@gardener-robot
Copy link

@scs-gardener-team-gitlab Thank you for your contribution.

@gardener-robot gardener-robot added the size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) label Oct 7, 2024
@gardener-robot-ci-3
Copy link
Contributor

Thank you @scs-gardener-team-gitlab for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

@scs-gardener-team-gitlab
Copy link
Contributor Author

@kon-angelo
Copy link
Contributor

The PR does not really enable the XFS option though does it ? From a user's perspective, how can he enable the new Helm chart option if it's not exposed via the shoot spec (e.g. controlplaneConfig)

Copy link
Contributor

@kon-angelo kon-angelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above

@gardener-robot gardener-robot added the needs/changes Needs (more) changes label Oct 8, 2024
@hebelsan
Copy link
Contributor

hebelsan commented Oct 9, 2024

lgtm. Let's merge this PR first though.

@aabond
Copy link

aabond commented Oct 16, 2024

Hi @kon-angelo and @hebelsan ,

Are we ready to proceed with merging this PR?

Comment on lines 723 to 832
if value, ok := cluster.Shoot.Annotations[aws.legacyXFS]; ok {
csiDriverNodeValues["driver"] = map[string]interface{}{
"legacyXFS": value,
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the code as it is, you would overwrite the value of VolumeAttachLimit in the driver key of the map. You should only create the map if it's not there.

@@ -48,6 +48,9 @@ spec:
{{- if .Values.driver.volumeAttachLimit }}
- --volume-attach-limit={{ .Values.driver.volumeAttachLimit }}
{{- end }}
{{- if .Values.driver.legacyXFS }}
- --legacyXFS={{ .Values.driver.legacyXFS }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kon-angelo kon-angelo force-pushed the sc-gardener-csi-driver-update branch from eb405d7 to 79baeb7 Compare October 17, 2024 14:54
@gardener-robot-ci-3 gardener-robot-ci-3 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 17, 2024
@gardener-robot-ci-2 gardener-robot-ci-2 added needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Oct 17, 2024
AndreasBurger
AndreasBurger previously approved these changes Oct 17, 2024
@kon-angelo kon-angelo self-requested a review October 17, 2024 15:23
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Oct 17, 2024
docs/usage/usage.md Outdated Show resolved Hide resolved
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 18, 2024
@gardener-robot-ci-3 gardener-robot-ci-3 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Oct 18, 2024
@kon-angelo kon-angelo dismissed their stale review October 18, 2024 08:03

fixed issues

@kon-angelo kon-angelo merged commit 2dae177 into gardener:master Oct 18, 2024
10 checks passed
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related area/delivery Delivery related area/storage Storage related kind/bug Bug needs/changes Needs (more) changes needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review platform/aws Amazon web services platform/infrastructure size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants