Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HealthCheckPath is the name of a path that activator, autoscaler and // prober(used by KIngress generally) use for health check. HealthCheckPath = "/healthz" )
Variables ¶
This section is empty.
Functions ¶
func IsPotentialMeshErrorResponse ¶
IsPotentialMeshErrorResponse returns whether the HTTP response is compatible with having been caused by attempting direct connection when mesh was enabled. For example if we get a HTTP 404 status code it's safe to assume mesh is not enabled even if a probe was otherwise unsuccessful. This is useful to avoid falling back to ClusterIP when we see errors which are unrelated to mesh being enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.