Skip to content

Conversation

dabradley
Copy link
Collaborator

The taint key follows the pattern: {driverName}/agent-not-ready e.g., azurelustre.csi.azure.com/agent-not-ready

This allows users to apply startup taints to prevent scheduling before the CSI driver is ready, addressing potential race conditions during node startup.

What type of PR is this?
/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #216

Requirements:

Special notes for your reviewer:

Release note:

none

@dabradley dabradley self-assigned this Sep 10, 2025
@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Sep 10, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dabradley

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 10, 2025
@coveralls
Copy link

coveralls commented Sep 10, 2025

Pull Request Test Coverage Report for Build 17776524351

Details

  • 68 of 93 (73.12%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.6%) to 87.24%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/azurelustreplugin/main.go 0 1 0.0%
pkg/azurelustre/azurelustre.go 68 92 73.91%
Totals Coverage Status
Change from base Build 17767981264: 0.6%
Covered Lines: 1928
Relevant Lines: 2210

💛 - Coveralls

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Sep 10, 2025
@dabradley dabradley removed the request for review from andyzhangx September 10, 2025 15:46
@dabradley dabradley force-pushed the add-startup-taint branch 2 times, most recently from 541f35e to fb3a961 Compare September 11, 2025 13:36
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 11, 2025
Since the same description applies to both types of install,
we only need this once. This aligns it better with the taint
description as well.
The taint key follows the pattern: {driverName}/agent-not-ready
e.g., azurelustre.csi.azure.com/agent-not-ready

This allows users to apply startup taints to prevent scheduling before the CSI driver is ready,
addressing potential race conditions during node startup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants