Mirantis / k8s-netchecker-server

Basic network checker service to check DNS and connectivity in kubernetes cluster
Apache License 2.0
67 stars 19 forks source link

Use monothonic timer to estimate agent keepalive misses #80

Closed AlexeyKasatkin closed 7 years ago

AlexeyKasatkin commented 7 years ago

Now current time is in use for this purpose. It can lead to issues in case of date changing.

See: https://github.com/Mirantis/k8s-netchecker-server/blob/master/pkg/utils/handler.go#L75 https://github.com/Mirantis/k8s-netchecker-server/blob/master/pkg/utils/handler.go#L154