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

fix_contivk8s_support_timeout #1148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liucimin
Copy link

Description of the changes

Type of fix: New feature

Please describe:

  • changes made in the Pull request

Add a Timeout in the contivK8s client.
When the kubelet use the cni plugin (contiv),it will execute the contivk8s client.Then the contivk8s will
post a request to the netplugin.
If sometimes the netplugin can not get the p.lock.The netplugin will be locked.And the contivk8s would
not get any response.Then the kubelet will also locked by this.

  • type of testing done (both manual and automated)
    Manual test have been done.

TODO

  • Tests
  1. use k8s to add a pod by contiv.
  2. lock the plugin.
    3.The contivk8s can timeout by set the timeout time.
  • Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant