Interface K8sHttpDiscoveryConfiguration


public interface K8sHttpDiscoveryConfiguration

HTTP Kubernetes service discovery module configuration

Since:
1.12
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Indicates whether HTTPS should be preferred when both HTTP and HTTPS ports are defined in environment variables.
  • Method Details

    • prefer_https

      default boolean prefer_https()

      Indicates whether HTTPS should be preferred when both HTTP and HTTPS ports are defined in environment variables.

      Returns:
      true to prefer HTTPS, false to prefer HTTP