netplugin icon indicating copy to clipboard operation
netplugin copied to clipboard

fix_contivk8s_support_timeout

Open liucimin opened this issue 7 years ago • 0 comments

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

liucimin avatar Jun 23 '18 02:06 liucimin