Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KubeAppProberEnvName is the name of the command line flag for pilot agent to pass app prober config. // The json encoded string to pass app HTTP probe information from injector(istioctl or webhook). // For example, --ISTIO_KUBE_APP_PROBERS='{"/app-health/httpbin/livez":{"path": "/hello", "port": 8080}. // indicates that httpbin container liveness prober port is 8080 and probing path is /hello. // This environment variable should never be set manually. KubeAppProberEnvName = "ISTIO_KUBE_APP_PROBERS" )
Variables ¶
This section is empty.
Functions ¶
func FormatProberURL ¶
FormatProberURL returns a pair of HTTP URLs that pilot agent will serve to take over Kubernetes app probers.
Types ¶
type Config ¶
type Config struct { StatusPort uint16 AdminPort uint16 ApplicationPorts []uint16 // KubeAppHTTPProbers is a json with Kubernetes application HTTP prober config encoded. KubeAppHTTPProbers string }
Config for the status server.
type KubeAppProbers ¶
type KubeAppProbers map[string]*corev1.HTTPGetAction
KubeAppProbers holds the information about a Kubernetes pod prober. It's a map from the prober URL path to the Kubernetes Prober config. For example, "/app-health/hello-world/livez" entry contains livenss prober config for container "hello-world".
Click to show internal directories.
Click to hide internal directories.