Skip to content

feat(overriding dashboard resources): Set resources on calico-dashboa…#4478

Merged
rene-dekker merged 1 commit intotigera:masterfrom
rene-dekker:ev-6264
Feb 25, 2026
Merged

feat(overriding dashboard resources): Set resources on calico-dashboa…#4478
rene-dekker merged 1 commit intotigera:masterfrom
rene-dekker:ev-6264

Conversation

@rene-dekker
Copy link
Copy Markdown
Member

@rene-dekker rene-dekker commented Feb 25, 2026

…rd-api

Users can now override the resources and/or limits on the calico-dashboard-api container in the manager deployment.
$kubectl patch manager tigera-secure -p '{"spec":{"managerDeployment":{"spec":{"template":{"spec":{"containers":[{"name":"calico-dash
  board-api","resources":{"limits":{"cpu":"522m","memory":"525Mi"},"requests":{"cpu":"115m","memory":"150Mi"}}}]}}}}}}' --type=merge
... (wait some time)
$ k get deploy -n calico-system calico-manager -o yaml | grep 522 -C 10
            command:
            - /usr/bin/dashboard-api
            - -ready
          failureThreshold: 3
          initialDelaySeconds: 5
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 5
        resources:
          limits:
            cpu: 522m
            memory: 525Mi
          requests:
            cpu: 115m
            memory: 150Mi
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          privileged: false

…rd-api

This changeset allows users to override the resources and/or limits on the calico-dashboard-api container in the manager deployment.
Copy link
Copy Markdown
Member

@caseydavenport caseydavenport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - do we need any tests?

@rene-dekker
Copy link
Copy Markdown
Member Author

rene-dekker commented Feb 25, 2026

There is an existing E2E that will start passing, see: https://tigera-delivery.semaphoreci.com/jobs/7376b444-e43c-4292-b61f-40e810fde1e4
It was already trying to update every container's resources and was already failing :)

@rene-dekker
Copy link
Copy Markdown
Member Author

/merge-when-ready delete-branch

@marvin-tigera
Copy link
Copy Markdown
Contributor

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

@rene-dekker rene-dekker merged commit 01d99af into tigera:master Feb 25, 2026
7 of 11 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.

4 participants