Skip to content

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