-
Notifications
You must be signed in to change notification settings - Fork 354
feat: add per-component priorityClassName to ArgoCD CRD (RFE-8802) #1189
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -239,6 +239,11 @@ spec: | |
| by the ApplicationSet controller. Defaults to ArgoCDDefaultLogLevel | ||
| if not set. Valid options are debug,info, error, and warn. | ||
| type: string | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
|
Comment on lines
+242
to
+246
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift Schema/controller contract is currently broken for These schema additions expose As per path instructions, this focuses on a major cross-layer integration issue and avoids minor/nitpick feedback. Also applies to: 1244-1248, 2461-2465, 4258-4262, 8290-8294, 8509-8513, 9164-9168, 13724-13728, 18621-18625, 20437-20441, 26245-26249, 30110-30114 🤖 Prompt for AI AgentsSources: Path instructions, Linked repositories |
||
| resources: | ||
| description: Resources defines the Compute Resources required | ||
| by the container for ApplicationSet. | ||
|
|
@@ -1281,6 +1286,11 @@ spec: | |
| operations | ||
| format: int32 | ||
| type: integer | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| processors: | ||
| description: Processors contains the options for the Application | ||
| Controller processors. | ||
|
|
@@ -2519,6 +2529,11 @@ spec: | |
| image: | ||
| description: Image is the Redis container image. | ||
| type: string | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| resources: | ||
| description: Resources defines the Compute Resources required | ||
| by the container for Redis. | ||
|
|
@@ -4326,6 +4341,11 @@ spec: | |
| description: MountSAToken describes whether you would like to | ||
| have the Repo server mount the service account token | ||
| type: boolean | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| replicas: | ||
| description: Replicas defines the number of replicas for argocd-repo-server. | ||
| Value should be greater than or equal to 0. Default is nil. | ||
|
|
@@ -8368,6 +8388,11 @@ spec: | |
| If empty, Prometheus uses the global scrape timeout. | ||
| type: string | ||
| type: object | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| replicas: | ||
| description: Replicas defines the number of replicas for argocd-server. | ||
| Default is nil. Value should be greater than or equal to 0. | ||
|
|
@@ -8582,6 +8607,11 @@ spec: | |
| description: OpenShiftOAuth enables OpenShift OAuth authentication | ||
| for the Dex server. | ||
| type: boolean | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to the Dex | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| resources: | ||
| description: Resources defines the Compute Resources required | ||
| by the container for Dex. | ||
|
|
@@ -9374,6 +9404,11 @@ spec: | |
| logformat: | ||
| description: 'Deprecated: use LogFormat instead.' | ||
| type: string | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| resources: | ||
| description: Resources defines the Compute Resources required | ||
| by the container for ApplicationSet. | ||
|
|
@@ -14103,6 +14138,11 @@ spec: | |
| operations | ||
| format: int32 | ||
| type: integer | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| processors: | ||
| description: Processors contains the options for the Application | ||
| Controller processors. | ||
|
|
@@ -19021,6 +19061,11 @@ spec: | |
| image: | ||
| description: Image is the Redis container image. | ||
| type: string | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| remote: | ||
| description: Remote specifies the remote URL of the Redis container. | ||
| (optional, by default, a local instance managed by the operator | ||
|
|
@@ -20847,6 +20892,11 @@ spec: | |
| description: MountSAToken describes whether you would like to | ||
| have the Repo server mount the service account token | ||
| type: boolean | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| remote: | ||
| description: Remote specifies the remote URL of the Repo Server | ||
| container. (optional, by default, a local instance managed by | ||
|
|
@@ -26665,6 +26715,11 @@ spec: | |
| If empty, Prometheus uses the global scrape timeout. | ||
| type: string | ||
| type: object | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to this component's | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| replicas: | ||
| description: Replicas defines the number of replicas for argocd-server. | ||
| Default is nil. Value should be greater than or equal to 0. | ||
|
|
@@ -30525,6 +30580,11 @@ spec: | |
| description: OpenShiftOAuth enables OpenShift OAuth authentication | ||
| for the Dex server. | ||
| type: boolean | ||
| priorityClassName: | ||
| description: |- | ||
| PriorityClassName is the name of the PriorityClass resource to assign to the Dex | ||
| pod. The PriorityClass must already exist in the cluster. | ||
| type: string | ||
| resources: | ||
| description: Resources defines the Compute Resources required | ||
| by the container for Dex. | ||
|
|
||
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.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
Schema exposes
priorityClassName, but runtime contract is incomplete.These CRD fields are now accepted, but the linked codebase findings show no matching Go API fields in
api/v1beta1/argocd_types.goand no reconciliation logic applyingPriorityClassNameto pod specs (for example incontrollers/argocd/deployment.go). This makes the feature a silent no-op at runtime.Please land the corresponding API struct fields (v1alpha1/v1beta1 as applicable) and controller wiring before release so accepted CR input is actually enforced on workloads.
As per path instructions, “Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.”
Also applies to: 1255-1259, 2472-2476, 4269-4273, 8301-8305, 8520-8524, 9175-9179, 13735-13739, 18632-18636, 20448-20452, 26256-26260, 30121-30125
🤖 Prompt for AI Agents
Sources: Path instructions, Linked repositories