Skip to content

K8SPS-644 Documented the leader election options for the Operator - #268

Open
nastena1606 wants to merge 1 commit into
mainfrom
K8SPS-644-Doc-leader-election-options
Open

nastena1606 wants to merge 1 commit into
mainfrom
K8SPS-644-Doc-leader-election-options

Conversation

@nastena1606

Copy link
Copy Markdown
Collaborator

No description provided.

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.

Copilot review overview

🟡 Changes recommended

The guidance must prevent overlapping Operator leaders when disabling election or changing the Lease name.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Documents leader-election environment variables for configuring the Operator.

Changes:

  • Adds leader-election options, defaults, constraints, and examples.
  • Updates environment-variable guidance and patch examples.
File Description
docs/​env-vars.md Adds leader election to the overview.
docs/​env-vars-operator.md Documents leader-election variables and examples.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/env-vars-operator.md

### `PSO_LEADER_ELECTION_ENABLED`

Controls whether the Operator runs leader election. Leader election ensures only one Operator instance manages resources when multiple replicas run. Set this to `"false"` only when the Deployment has one replica.

This branch was successfully deployed

1 active deployment
K8SPS-644-Doc-leader-election-options - k8sps-docs-preview PR #268 — d06178d0 Deployed Oct 6, 2026 by nastena1606
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants