github.com/cilium/cilium@v1.16.2/pkg/health/defaults/defaults.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package defaults
     5  
     6  import (
     7  	daemon "github.com/cilium/cilium/pkg/defaults"
     8  )
     9  
    10  const (
    11  	// SockPath is the path to the UNIX domain socket exposing the API to clients locally
    12  	SockPath = daemon.RuntimePath + "/health.sock"
    13  
    14  	// SockPathEnv is the environment variable to overwrite SockPath
    15  	SockPathEnv = "CILIUM_HEALTH_SOCK"
    16  
    17  	// HTTPPathPort is used for probing base HTTP path connectivity
    18  	HTTPPathPort = daemon.ClusterHealthPort
    19  
    20  	// HealthEPName is the name used for the health endpoint, which is also
    21  	// used by the CLI client to detect when connectivity health is enabled
    22  	HealthEPName = "cilium-health-ep"
    23  )