You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update defaults for plugin registration and request processing timeouts and make them configurable. This should help testing plugins with a complex startup/registration sequence in very slow CI environments where registration otherwise sometimes triggers a timeout.
Also adjust the default socket path to /var/run/nri/nri.sock and create the parent directory for the socket with 0700 access rights instead of 0755. Having an intermediate directory makes it easier for plugins that run as a K8s daemonset to survive a runtime restart an reconnect to the NRI socket.
Change default socket path to /var/run/nri/nri.sock. This
should work better for plugins which are run as Kubernetes
daemonsets. With the socket directory bind-mounted instead
of the socket itself, plugins should be able to reconnect
if the runtime is ever restarted.
Additionally, create any missing NRI/socket directory with
0700 rights (rwx for owner only) instead of 0755.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Coverage data is based on head (8a00d6d) compared to base (807de1e).
Patch coverage: 64.28% of modified lines in pull request are covered.
❗ Current head 8a00d6d differs from pull request most recent head fbbce23. Consider uploading reports for the commit fbbce23 to get more accurate results
Allow the default plugin timeouts to be overridden. This should
allow us to give plugins more slack in slow/overloaded CI envs.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update defaults for plugin registration and request processing timeouts and make them configurable. This should help testing plugins with a complex startup/registration sequence in very slow CI environments where registration otherwise sometimes triggers a timeout.
Also adjust the default socket path to
/var/run/nri/nri.sock
and create the parent directory for the socket with0700
access rights instead of0755
. Having an intermediate directory makes it easier for plugins that run as a K8s daemonset to survive a runtime restart an reconnect to the NRI socket.