- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getPrometheusPort (0.45 sec)
-
pkg/kube/inject/webhook.go
if getPrometheusScrape(pod) && enablePrometheusMerge(mesh, pod.ObjectMeta.Annotations) { targetPort := strconv.Itoa(int(mesh.GetDefaultConfig().GetStatusPort())) if cur, f := getPrometheusPort(pod); f { // We have already set the port, assume user is controlling this or, more likely, re-injected // the pod. if cur == targetPort { return nil } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 42.2K bytes - Viewed (0) -
pkg/kube/inject/inject.go
pod.Spec.InitContainers = modifyContainers(pod.Spec.InitContainers, c, Remove) } targetPort := strconv.Itoa(int(req.meshConfig.GetDefaultConfig().GetStatusPort())) if cur, f := getPrometheusPort(pod); f { // We have already set the port, assume user is controlling this or, more likely, re-injected // the pod. if cur == targetPort { clearPrometheusAnnotations(pod) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (0)