2024-09-08 04:48:38 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2024-09-08 19:57:29 +00:00
|
|
|
package kubetypes
|
2024-09-08 04:48:38 +00:00
|
|
|
|
|
|
|
const (
|
|
|
|
// Hostinfo App values for the Tailscale Kubernetes Operator components.
|
2024-11-07 12:42:29 +00:00
|
|
|
AppOperator = "k8s-operator"
|
|
|
|
AppAPIServerProxy = "k8s-operator-proxy"
|
|
|
|
AppIngressProxy = "k8s-operator-ingress-proxy"
|
|
|
|
AppIngressResource = "k8s-operator-ingress-resource"
|
|
|
|
AppEgressProxy = "k8s-operator-egress-proxy"
|
|
|
|
AppConnector = "k8s-operator-connector-resource"
|
|
|
|
AppProxyGroupEgress = "k8s-operator-proxygroup-egress"
|
|
|
|
AppProxyGroupIngress = "k8s-operator-proxygroup-ingress"
|
2024-09-08 04:48:38 +00:00
|
|
|
|
|
|
|
// Clientmetrics for Tailscale Kubernetes Operator components
|
|
|
|
MetricIngressProxyCount = "k8s_ingress_proxies" // L3
|
|
|
|
MetricIngressResourceCount = "k8s_ingress_resources" // L7
|
|
|
|
MetricEgressProxyCount = "k8s_egress_proxies"
|
|
|
|
MetricConnectorResourceCount = "k8s_connector_resources"
|
|
|
|
MetricConnectorWithSubnetRouterCount = "k8s_connector_subnetrouter_resources"
|
|
|
|
MetricConnectorWithExitNodeCount = "k8s_connector_exitnode_resources"
|
2024-11-11 11:43:54 +00:00
|
|
|
MetricConnectorWithAppConnectorCount = "k8s_connector_appconnector_resources"
|
2024-09-08 04:48:38 +00:00
|
|
|
MetricNameserverCount = "k8s_nameserver_resources"
|
2024-09-11 11:19:29 +00:00
|
|
|
MetricRecorderCount = "k8s_recorder_resources"
|
2024-10-04 12:11:35 +00:00
|
|
|
MetricEgressServiceCount = "k8s_egress_service_resources"
|
2024-11-07 12:42:29 +00:00
|
|
|
MetricProxyGroupEgressCount = "k8s_proxygroup_egress_resources"
|
|
|
|
MetricProxyGroupIngressCount = "k8s_proxygroup_ingress_resources"
|
2024-09-08 04:48:38 +00:00
|
|
|
)
|