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

Upgrade cAdvisor version in k8s deployment. #2853

Merged
merged 2 commits into from
May 13, 2021

Conversation

Creatone
Copy link
Collaborator

Signed-off-by: Paweł Szulik pawel.szulik@intel.com

Signed-off-by: Paweł Szulik <pawel.szulik@intel.com>
@google-cla google-cla bot added the cla: yes label Apr 26, 2021
@Creatone
Copy link
Collaborator Author

/ok-to-test

resources:
requests:
memory: 200Mi
cpu: 150m
memory: 1000Mi
Copy link
Collaborator

Choose a reason for hiding this comment

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

just curious, why is the bump in cpu and memory needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Got this one:

[pszulik@node200 ~]$ curl 10.233.79.136:8080/metrics > out
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed connect to 10.233.79.136:8080; Connection refused

Lack of resources...

Copy link
Collaborator

Choose a reason for hiding this comment

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

I see, sounds good to bump then. However, it seems like a large bump (requests 200Mi -> 1000Mi ; cpu 100m -> 500m). I don't have any objections but just curious how you picked those... or if it's just a rough guess :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

It has not been changed for a while but such a huge increase is a bit worrying to me too. @Creatone have you tried to set any lower value?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Resources are going to vary based on the number of containers on the node.
You should also check to see if there were any additional --disable_metrics added during that time period that we need to ignore (if we are ignoring any).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can you now check out the values?

@iwankgb
Copy link
Collaborator

iwankgb commented May 12, 2021

@bobbypage there are few recently reported issues about performance. I think we can merge this PR and investigate reported issues.

@bobbypage
Copy link
Collaborator

Sounds good, LGTM.

@Creatone Creatone merged commit 4f491ae into google:master May 13, 2021
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.

5 participants