tailscale/cmd/k8s-operator
Irbe Krumina a6cc2fdc3e
cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036)
* cmd/containerboot,cmd/k8s-operator/deploy/manifests: optionally forward cluster traffic via ingress proxy.

If a tailscale Ingress has tailscale.com/experimental-forward-cluster-traffic-via-ingress annotation, configure the associated ingress proxy to have its tailscale serve proxy to listen on Pod's IP address. This ensures that cluster traffic too can be forwarded via this proxy to the ingress backend(s).

In containerboot, if EXPERIMENTAL_PROXY_CLUSTER_TRAFFIC_VIA_INGRESS is set to true
and the node is Kubernetes operator ingress proxy configured via Ingress,
make sure that traffic from within the cluster can be proxied to the ingress target.

Updates tailscale/tailscale#10499

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2024-02-08 06:45:42 +00:00
..
deploy cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036) 2024-02-08 06:45:42 +00:00
generate cmd/k8s-operator: add Connector CRD to Helm chart and static manifests (#10775) 2024-01-10 14:20:22 +00:00
connector.go cmd/k8s-operator,k8s-operator: allow the operator to deploy exit nodes via Connector custom resource (#10724) 2024-01-09 14:13:22 +00:00
connector_test.go cmd/k8s-operator,k8s-operator: allow the operator to deploy exit nodes via Connector custom resource (#10724) 2024-01-09 14:13:22 +00:00
ingress.go cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036) 2024-02-08 06:45:42 +00:00
ingress_test.go cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036) 2024-02-08 06:45:42 +00:00
operator.go cmd/k8s-operator: adds a tailscale IngressClass resource, prints warning if class not found. (#10823) 2024-01-16 12:48:15 +00:00
operator_test.go cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036) 2024-02-08 06:45:42 +00:00
proxy.go all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
proxy_test.go all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
sts.go cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036) 2024-02-08 06:45:42 +00:00
sts_test.go cmd/k8s-operator: minor fix in name gen (#10830) 2024-01-12 10:08:22 +00:00
svc.go cmd/{containerboot,k8s-operator}: allow users to define tailnet egress target by FQDN (#10360) 2023-11-24 16:24:48 +00:00
testutils_test.go cmd/{containerboot,k8s-operator/deploy/manifests}: optionally allow proxying cluster traffic to a cluster target via ingress proxy (#11036) 2024-02-08 06:45:42 +00:00