Skip to content

Conversation

@aojea
Copy link
Contributor

@aojea aojea commented Dec 22, 2022

Add network plugin metrics.

The metrics are the same that were used in dockershim/kubelet until it was deprecated in kubernetes 1.23

https://github.com/kubernetes/kubernetes/blob/release-1.23/pkg/kubelet/dockershim/network/metrics/metrics.go

Fixes: #7801

Signed-off-by: Antonio Ojea [email protected]

@k8s-ci-robot
Copy link

Hi @aojea. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@aojea
Copy link
Contributor Author

aojea commented Dec 22, 2022

/assign @mikebrow @MikeZappa87 @MrHohn

@k8s-ci-robot
Copy link

@aojea: GitHub didn't allow me to assign the following users: MrHohn.

Note that only containerd members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

Details

In response to this:

/assign @mikebrow @MikeZappa87 @MrHohn

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Add network plugin metrics.

The metrics are the same that were used in dockershim/kubelet until
it was deprecated in kubernetes 1.23

https://github.com/kubernetes/kubernetes/blob/release-1.23/pkg/kubelet/dockershim/network/metrics/metrics.go

Signed-off-by: Antonio Ojea <[email protected]>
@samuelkarp
Copy link
Member

/ok-to-test

Copy link
Member

@dcantah dcantah left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

Lgtm on green

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

@fuweid fuweid merged commit 4c3eb5f into containerd:main Dec 26, 2022
Copy link

@MrHohn MrHohn left a comment

Choose a reason for hiding this comment

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

Retrospectively LGTM, thanks @aojea !

@aojea
Copy link
Contributor Author

aojea commented Jan 28, 2023

@mikebrow @fuweid are you open to backport this metrics to 1.6?

@fuweid
Copy link
Member

fuweid commented Jan 28, 2023

are you open to backport this metrics to 1.6?

Yes, please~

@aojea
Copy link
Contributor Author

aojea commented Jan 28, 2023

Thanks

#8018

@fuweid fuweid added cherry-pick/1.6.x cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch and removed cherry-pick/1.6.x labels Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch impact/changelog kind/enhancement ok-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CNI operation metrics

8 participants