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

add resource req/limits for es-gateway #3612

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vara2504
Copy link
Contributor

@vara2504 vara2504 commented Nov 23, 2024

https://tigera.atlassian.net/browse/EV-5425

vara@vara:~/bzprofiles/Clusters/tc_esgateway$ k get deployment.apps/tigera-secure-es-gateway -n tigera-elasticsearch -o yaml|grep -A 7 -B 1 resources
                  f:timeoutSeconds: {}
                f:resources:
                  .: {}
                  f:limits:
                    .: {}
                    f:cpu: {}
                    f:memory: {}
                  f:requests:
                    .: {}
--
          timeoutSeconds: 5
        resources:
          limits:
            cpu: 150m
            memory: 500Mi
          requests:
            cpu: 20m
            memory: 50Mi
        securityContext:
vara@vara:~/bzprofiles/Clusters/tc_esgateway$ kubectl patch logstorage tigera-secure  --type=merge --patch='{"spec": {"esGatewayDeployment":{"spec": {"template": {"spec": {"containers":[{"name":"tigera-secure-es-gateway","resources":{"limits":{"cpu":"350m", "memory":"300Mi"},"requests":{"cpu":"30m", "memory":"30Mi"}}}]}}}}}}'
logstorage.operator.tigera.io/tigera-secure patched
vara@vara:~/bzprofiles/Clusters/tc_esgateway$ k get deployment.apps/tigera-secure-es-gateway -n tigera-elasticsearch -o yaml|grep -A 7 -B 1 resources
                  f:timeoutSeconds: {}
                f:resources:
                  .: {}
                  f:limits:
                    .: {}
                    f:cpu: {}
                    f:memory: {}
                  f:requests:
                    .: {}
--
          timeoutSeconds: 5
        resources:
          limits:
            cpu: 350m
            memory: 300Mi
          requests:
            cpu: 30m
            memory: 30Mi
        securityContext:

Description

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants