tailscale/cmd/k8s-operator
Tom Proctor d8a3683fdf
cmd/k8s-operator: restart ProxyGroup pods less (#14045)
We currently annotate pods with a hash of the tailscaled config so that
we can trigger pod restarts whenever it changes. However, the hash
updates more frequently than is necessary causing more restarts than is
necessary. This commit removes two causes; scaling up/down and removing
the auth key after pods have initially authed to control. However, note
that pods will still restart on scale-up/down because of the updated set
of volumes mounted into each pod. Hopefully we can fix that in a planned
follow-up PR.

Updates #13406

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
2024-11-12 14:18:19 +00:00
..
deploy cmd/k8s-operator,k8s-operator,kube/kubetypes: add an option to configure app connector via Connector spec (#13950) 2024-11-11 11:43:54 +00:00
generate cmd/k8s-operator,k8s-operator: add ProxyGroup CRD (#13591) 2024-09-27 01:05:56 +01:00
connector_test.go cmd/k8s-operator,k8s-operator,kube/kubetypes: add an option to configure app connector via Connector spec (#13950) 2024-11-11 11:43:54 +00:00
connector.go cmd/k8s-operator,k8s-operator,kube/kubetypes: add an option to configure app connector via Connector spec (#13950) 2024-11-11 11:43:54 +00:00
depaware.txt derp/derphttp: don't link websockets other than on GOOS=js 2024-11-07 22:29:41 -08:00
dnsrecords_test.go cmd/k8s-operator: fix DNS reconciler for dual-stack clusters (#13057) 2024-08-13 18:42:01 +01:00
dnsrecords.go cmd/k8s-operator: fix DNS reconciler for dual-stack clusters (#13057) 2024-08-13 18:42:01 +01:00
egress-eps_test.go cmd/k8s-operator: fix Pod IP selection (#13743) 2024-10-09 13:22:50 +01:00
egress-eps.go cmd/k8s-operator: fix Pod IP selection (#13743) 2024-10-09 13:22:50 +01:00
egress-services_test.go cmd/k8s-operator,k8s-operator: create ConfigMap for egress services + small fixes for egress services (#13715) 2024-10-07 20:12:56 +01:00
egress-services-readiness_test.go cmd/k8s-operator,k8s-operator/apis: set a readiness condition on egress Services for ProxyGroup (#13746) 2024-10-09 18:23:40 +01:00
egress-services-readiness.go cmd/k8s-operator,k8s-operator/apis: set a readiness condition on egress Services for ProxyGroup (#13746) 2024-10-09 18:23:40 +01:00
egress-services.go cmd/k8s-operator,k8s-operator/apis: set a readiness condition on egress Services for ProxyGroup (#13746) 2024-10-09 18:23:40 +01:00
ingress_test.go cmd/k8s-operator,k8s-operator: use default ProxyClass if set for ProxyGroup (#13720) 2024-10-08 17:34:34 +01:00
ingress.go cmd/k8s-operator,k8s-operator: use default ProxyClass if set for ProxyGroup (#13720) 2024-10-08 17:34:34 +01:00
nameserver_test.go cmd/k8s-operator,k8s-operator,kube: Add TSRecorder CRD + controller (#13299) 2024-09-11 12:19:29 +01:00
nameserver.go kube,cmd/{k8s-operator,containerboot},envknob,ipn/store/kubestore,*/depaware.txt: rename packages (#13418) 2024-09-08 20:57:29 +01:00
operator_test.go cmd/k8s-operator,k8s-operator,kube/kubetypes: add an option to configure app connector via Connector spec (#13950) 2024-11-11 11:43:54 +00:00
operator.go cmd/k8s-operator: allow to optionally configure tailscaled port (#14005) 2024-11-04 18:42:51 +00:00
proxy_test.go cmd/k8s-operator,ssh/tailssh,tsnet: optionally record 'kubectl exec' sessions via Kubernetes operator's API server proxy (#12274) 2024-07-08 21:18:55 +01:00
proxy.go kube,cmd/{k8s-operator,containerboot},envknob,ipn/store/kubestore,*/depaware.txt: rename packages (#13418) 2024-09-08 20:57:29 +01:00
proxyclass_test.go cmd/k8s-operator,k8s-operator: use default ProxyClass if set for ProxyGroup (#13720) 2024-10-08 17:34:34 +01:00
proxyclass.go cmd/k8s-operator,k8s-operator: use default ProxyClass if set for ProxyGroup (#13720) 2024-10-08 17:34:34 +01:00
proxygroup_specs.go cmd/k8s-operator: restart ProxyGroup pods less (#14045) 2024-11-12 14:18:19 +00:00
proxygroup_test.go cmd/k8s-operator: restart ProxyGroup pods less (#14045) 2024-11-12 14:18:19 +00:00
proxygroup.go cmd/k8s-operator: restart ProxyGroup pods less (#14045) 2024-11-12 14:18:19 +00:00
sts_test.go cmd/k8s-operator,k8s-operator: add topology spread constraints to ProxyClass (#13959) 2024-10-30 10:45:31 +00:00
sts.go cmd/k8s-operator,k8s-operator,kube/kubetypes: add an option to configure app connector via Connector spec (#13950) 2024-11-11 11:43:54 +00:00
svc.go cmd/k8s-operator: validate that tailscale.com/tailnet-ip annotation value is a valid IP 2024-10-26 13:03:36 +01:00
testutils_test.go cmd/k8s-operator,k8s-operator,kube/kubetypes: add an option to configure app connector via Connector spec (#13950) 2024-11-11 11:43:54 +00:00
tsrecorder_specs_test.go cmd/k8s-operator,k8s-operator,kube: Add TSRecorder CRD + controller (#13299) 2024-09-11 12:19:29 +01:00
tsrecorder_specs.go cmd/k8s-operator,k8s-operator,kube: Add TSRecorder CRD + controller (#13299) 2024-09-11 12:19:29 +01:00
tsrecorder_test.go cmd/{containerboot,k8s-operator},k8s-operator,kube: add ProxyGroup controller (#13684) 2024-10-07 14:58:45 +01:00
tsrecorder.go cmd/{containerboot,k8s-operator},k8s-operator,kube: add ProxyGroup controller (#13684) 2024-10-07 14:58:45 +01:00