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

Display resource configuration that is effective on the function's runtime pod #435

Open
2 tasks
kwiatekus opened this issue Nov 22, 2023 · 1 comment
Open
2 tasks
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@kwiatekus
Copy link
Contributor

Description

Show the actual cpu and memory units configured on the runtime pod in the status of the function and in kyma dashboard.
Currently we expose only the applied profile ( in the status ) but this information is nowhere shown in the UI.
Additionally it lacks the concrete units information and the resources allocated for the istio side car.
It would make sense for function controller to inspect the overal resources of all containers of the runtime pod and expose this information in the function status. Furter on, this information should be shown in the UI

AC

  • function status shows request and limits of all the containers (incl. istio proxy) of the runtime pod
  • details view of the function present this information in the kyma dashboard

Reasons
There are many ways how user can set function runtime resources:

  • set profile (S,M,L,etc)
  • set custom resource configuration values
  • leave everything empty and have the default preset set by the controller.

We are missing a way of displaying resources that would be working for all those 3 ways and that would include also resources originating from eventual istio side cart container.

This makes the user totally unaware about the total amount of resources used by his function.

We are showing applied profiles, for instance:

status:
  buildResourceProfile: fast
  functionResourceProfile: L

But we show no actually applied cpu or memory units that user can refer to (see attachment).

Attachments
Screenshot 2023-11-22 at 16 22 38

@kwiatekus kwiatekus added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 22, 2023
@kyma-bot
Copy link
Contributor

This issue or PR has been automatically marked as stale due to the lack of recent activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close

If you think that I work incorrectly, kindly raise an issue with the problem.

/lifecycle stale

@kyma-bot kyma-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 21, 2024
@kwiatekus kwiatekus removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants