Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Conversation

@Random-Liu
Copy link
Member

Node e2e should also use cni template.

Signed-off-by: Lantao Liu [email protected]

@Random-Liu Random-Liu added this to the v1.0.0 milestone Apr 18, 2018
@Random-Liu
Copy link
Member Author

Random-Liu commented Apr 18, 2018

@jingax10 @yujuhong This is very interesting... After switching from bridge to p2p, the container cpu usage is reduced. :)

Compare with #741.

@Random-Liu
Copy link
Member Author

This should be fixed by kubernetes/kubernetes#62761.

k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this pull request Apr 18, 2018
…ummary

Automatic merge from submit-queue (batch tested with PRs 62761, 62715). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Lower UsageNanoCores boundary in summary api test.

We recently switched to use `p2p` instead of `bridge` in containerd containerd/cri#742.

However, after that switch, the `UsageNanoCores`  becomes lower, and constantly fails the test. An example failure:
* https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/containerd_cri/740/pull-cri-containerd-node-e2e/690/

This is probably because:
1) The test container used in summary test does `ping`. https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/summary_test.go#L352
2) `p2p` is simpler than `bridge`, "Maybe cycles are saved from waiving Mac learning" - @jingax10.

This PR lowers the boundary by 1 magnitude.

Signed-off-by: Lantao Liu <[email protected]>

**Release note**:

```release-note
none
```
@yujuhong
Copy link
Member

/test pull-cri-containerd-node-e2e

@Random-Liu
Copy link
Member Author

/test pull-cri-containerd-build

@Random-Liu
Copy link
Member Author

Close this in favor of #740

@Random-Liu Random-Liu closed this Apr 18, 2018
@Random-Liu Random-Liu deleted the node-e2e-use-cni-template branch April 18, 2018 20:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants