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

Alert KubeVirtComponentExceedsRequestedMemory / KubeVirtComponentExceedsRequestedCPU #130

Open
rbo opened this issue Apr 27, 2023 · 2 comments
Assignees
Labels
cluster/isar BareMetal COE Cluter

Comments

@rbo
Copy link
Member

rbo commented Apr 27, 2023

Fired for components:

  • virt-controller
  • virt-api
  • virt-handler

Configured requested resources:

$ for i in virt-controller virt-api  ; do echo "======= $i ========"; oc get deployment $i -n
 openshift-cnv -o yaml | grep 'resources:' -A5; done;
======= virt-controller ========
        resources:
          requests:
            cpu: 10m
            memory: 250Mi
        securityContext:
          allowPrivilegeEscalation: false
======= virt-api ========
        resources:
          requests:
            cpu: 5m
            memory: 300Mi
        securityContext:
          allowPrivilegeEscalation: false

$ oc get daemonsets.apps virt-handler -o yaml | grep 'resources:' -A5
        resources:
          requests:
            cpu: 10m
            memory: 300Mi
        securityContext:
          privileged: true
--
        resources: {}
        securityContext:
          privileged: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:

Useage:

  • virt-api ~ 350Mi
  • virt-controller ~ 270Mi
  • virt-handler ~ 380Mi

Documentation:

@rbo rbo added the cluster/isar BareMetal COE Cluter label Apr 27, 2023
@rbo rbo self-assigned this Apr 27, 2023
@rbo
Copy link
Member Author

rbo commented Apr 27, 2023

There is currently no option to change the request:

@rbo rbo closed this as completed Nov 17, 2023
@rbo
Copy link
Member Author

rbo commented Nov 17, 2023

We have the same problem but with CPU : KubeVirtComponentExceedsRequestedCPU

@rbo rbo reopened this Nov 17, 2023
@rbo rbo changed the title Alert KubeVirtComponentExceedsRequestedMemory Alert KubeVirtComponentExceedsRequestedMemory / KubeVirtComponentExceedsRequestedCPU Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cluster/isar BareMetal COE Cluter
Projects
None yet
Development

No branches or pull requests

1 participant