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

Operator doesn't respect priorityClassName for collector or query #1410

Closed
majidazimi opened this issue Mar 16, 2021 · 5 comments
Closed

Operator doesn't respect priorityClassName for collector or query #1410

majidazimi opened this issue Mar 16, 2021 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@majidazimi
Copy link
Contributor

Jaeger operator doesn't respect setting priorityClassName for collector and query:

apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  name: jaeger
spec:
  strategy: production
  ingress:
    enabled: false
  collector:
    replicas: 1
    options:
      log-level: debug
    resources:
      requests:
        cpu: 100m
        memory: 256Mi
      limits:
        cpu: 300m
        memory: 512Mi
    priorityClassName: system-cluster-critical
  query:
    priorityClassName: system-cluster-critical

Setting above fields doesn't trigger any redeployment. Deleting ReplicaSet manually doesn't create pods with new configuration either. However, Collecotor/Query helm charts already supports this field. Am I missing something or there is really an issue?

@github-actions github-actions bot added the needs-triage New issues, in need of classification label Mar 16, 2021
@jpkrohling
Copy link
Contributor

Apparently, we have support only for the agent, added as part of #1392 . Would you be willing to send a PR adding that to the collector/query?

@jpkrohling jpkrohling added enhancement New feature or request good first issue Good for newcomers and removed needs-triage New issues, in need of classification labels Mar 16, 2021
@majidazimi
Copy link
Contributor Author

What needs to be changed? I'm not a Go developer. Some hints or guidelines would be great.

@jpkrohling
Copy link
Contributor

You can use the linked PR as a model. The collector/query parts are close to the agent parts, should be easy to spot them. Once you send a PR, I can see if anything else is needed.

@majidazimi
Copy link
Contributor Author

#1413 Please take a look into the changes.

@jpkrohling
Copy link
Contributor

A Go developer couldn't have done better, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants