Skip to content

Clarify ACME challenge scheduling behaviour - #2097

Merged
cert-manager-prow[bot] merged 1 commit into
cert-manager:masterfrom
wallrj:wallrj/docs/acme-challenge-scheduling-context
Jun 17, 2026
Merged

cert-manager-prow[bot] merged 1 commit into
cert-manager:masterfrom
wallrj:wallrj/docs/acme-challenge-scheduling-context

Conversation

@wallrj

@wallrj wallrj commented May 13, 2026 •

Copy link
Copy Markdown
Member

What this PR does

Clarifies the ACME challenge scheduling documentation.

This updates the ACME concepts, configuration, and troubleshooting pages to explain that challenge scheduling is intentionally conservative, and that the scheduler should be understood as a coarse back-pressure mechanism rather than a fairness or policy layer.

Related to cert-manager/cert-manager#8781 and cert-manager/cert-manager#8643.

Why

The current documentation explains what the scheduler does, but not clearly why it behaves this way.

In particular, this PR adds context that:

  • cert-manager self-checks from a single network and DNS viewpoint;
  • different solver backends do not reliably imply independent ACME-visible validation paths;
  • the scheduler therefore keeps a coarse conflict key by design; and
  • multi-tenant isolation and DNS-name ownership constraints are better handled through policy, approval, admission, or separate deployments.

It also adds cross-links from the ACME configuration and troubleshooting pages back to the concepts page, and to the policy documentation.

@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 13, 2026
@netlify

netlify Bot commented May 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b0c16cb
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6a30e797ee19780008356585
😎 Deploy Preview https://deploy-preview-2097--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.


The maximum number of challenges that can be processed at a time is 60 as of
[`ddff78`](https://github.com/cert-manager/cert-manager/blob/ddff78f011558e64186d61f7c693edced1496afa/pkg/controller/acmechallenges/scheduler/scheduler.go#L31-L33). No newline at end of file
This scheduler is a coarse back-pressure mechanism. It applies a cap on the

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I have expanded this section because the corresponding code change in cert-manager/cert-manager#8781 is primarily documenting design intent rather than altering behaviour. The aim here is to make the same reasoning visible to documentation readers: the scheduler is intentionally conservative because a single cert-manager instance performs self-checks from one network and DNS viewpoint, and this is not the right layer to enforce multi-tenant isolation or DNS-name ownership policy.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR clarifies cert-manager’s ACME challenge scheduling behavior in the documentation, framing the scheduler as an intentionally conservative back-pressure mechanism (not a fairness/policy layer), and adds cross-links to help readers find the right conceptual and policy guidance.

Changes:

  • Expanded the “Challenge Scheduling” documentation to explain conflict detection targets and the rationale for conservative scheduling.
  • Added cross-links from ACME configuration and troubleshooting docs to the ACME concepts page, troubleshooting, and policy docs.
  • Documented how to tune concurrency via --max-concurrent-challenges and referenced relevant configuration surfaces.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
content/docs/troubleshooting/acme.md Adds links to ACME concepts (self-checks/scheduling) and policy guidance for shared environments.
content/docs/configuration/acme/README.md Adds a cross-link hub to concepts/policy/troubleshooting for ACME challenge lifecycle and scheduling context.
content/docs/concepts/acme-orders-challenges.md Rewrites “Challenge Scheduling” section with clearer rationale, conflict keys, and concurrency tuning references.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lunarwhite lunarwhite left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@cert-manager-prow

Copy link
Copy Markdown
Contributor

@lunarwhite: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@wallrj

wallrj commented Jun 17, 2026

Copy link
Copy Markdown
Member Author

/approve
/lgtm

@cert-manager-prow

Copy link
Copy Markdown
Contributor

@wallrj: you cannot LGTM your own PR.

Details

In response to this:

/approve
/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lunarwhite, wallrj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 17, 2026
@wallrj wallrj added the lgtm Indicates that a PR is ready to be merged. label Jun 17, 2026
@cert-manager-prow
cert-manager-prow Bot merged commit bdf9027 into cert-manager:master Jun 17, 2026
4 checks passed
@wallrj
wallrj deleted the wallrj/docs/acme-challenge-scheduling-context branch June 17, 2026 10:36
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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants