Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate health for services #1707

Merged
merged 5 commits into from
Oct 8, 2020
Merged

Calculate health for services #1707

merged 5 commits into from
Oct 8, 2020

Commits on Oct 7, 2020

  1. Calculate health for services

    A service is considered healthy if its cluster IP is accessible. Furthermore, if the service is load-balanced, then balancer needs to have an ingress defined.
    
    Signed-off-by: Jan Schlicht <jan@d2iq.com>
    Jan Schlicht committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    0c8ba13 View commit details
    Browse the repository at this point in the history
  2. Extract function to reduce cyclomatic complexity

    Signed-off-by: Jan Schlicht <jan@d2iq.com>
    Jan Schlicht committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    e000d25 View commit details
    Browse the repository at this point in the history
  3. Update pkg/kubernetes/status/health.go

    Signed-off-by: Jan Schlicht <jan@d2iq.com>
    
    Co-authored-by: Aleksey Dukhovniy <adukhovniy@mesosphere.io>
    Jan Schlicht and Aleksey Dukhovniy authored Oct 7, 2020
    Configuration menu
    Copy the full SHA
    042c79b View commit details
    Browse the repository at this point in the history
  4. Use updated function name

    Signed-off-by: Jan Schlicht <jan@d2iq.com>
    Jan Schlicht committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    aaebaee View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

  1. Add unit tests for 'IsHealthy'

    Signed-off-by: Jan Schlicht <jan@d2iq.com>
    Jan Schlicht committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    7d91208 View commit details
    Browse the repository at this point in the history