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

EV-4693 Make resource requests/limits configurable for tigera-guardian #3225

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

vara2504
Copy link
Contributor

@vara2504 vara2504 commented Mar 5, 2024

Configure resource requests/limits for tigera-guardian

vara@vara:~/bzprofiles/Clusters/tc_mgd$ kubectl patch managementclusterconnection tigera-secure  --type=merge --patch='{"spec": {"guardianDeployment":{"spec": {"template": {"spec": {"containers":[{"name":"tigera-guardian","resources":{"limits":{"cpu":"150m", "memory":"500Mi"},"requests":{"cpu":"20m", "memory":"50Mi"}}}]}}}}}}'
managementclusterconnection.operator.tigera.io/tigera-secure patched

 
 vara@vara:~/bzprofiles/Clusters/tc_mgd$ k get deployment.apps/tigera-guardian -n tigera-guardian -o yaml|grep -A 7 -B 1 resources
          timeoutSeconds: 5
        resources:
          limits:
            cpu: 150m
            memory: 500Mi
          requests:
            cpu: 20m
            memory: 50Mi
        securityContext:

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.

@vara2504 vara2504 marked this pull request as ready for review March 5, 2024 00:47
@vara2504 vara2504 requested a review from a team as a code owner March 5, 2024 00:47
@caseydavenport caseydavenport merged commit e0d5be6 into tigera:master Mar 5, 2024
5 checks passed
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.

3 participants