contiv / netplugin

Container networking for various use cases
Apache License 2.0
512 stars 177 forks source link

fix_contivk8s_support_timeout #1148

Open liucimin opened 6 years ago

liucimin commented 6 years ago

Description of the changes

Type of fix: New feature

Please describe:

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.

TODO