You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd
Tom Proctor 24095e4897
cmd/containerboot: serve health on local endpoint (#14246)
* cmd/containerboot: serve health on local endpoint

We introduced stable (user) metrics in #14035, and `TS_LOCAL_ADDR_PORT`
with it. Rather than requiring users to specify a new addr/port
combination for each new local endpoint they want the container to
serve, this combines the health check endpoint onto the local addr/port
used by metrics if `TS_ENABLE_HEALTH_CHECK` is used instead of
`TS_HEALTHCHECK_ADDR_PORT`.

`TS_LOCAL_ADDR_PORT` now defaults to binding to all interfaces on 9002
so that it works more seamlessly and with less configuration in
environments other than Kubernetes, where the operator always overrides
the default anyway. In particular, listening on localhost would not be
accessible from outside the container, and many scripted container
environments do not know the IP address of the container before it's
started. Listening on all interfaces allows users to just set one env
var (`TS_ENABLE_METRICS` or `TS_ENABLE_HEALTH_CHECK`) to get a fully
functioning local endpoint they can query from outside the container.

Updates #14035, #12898

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
3 days ago
..
addlicense
build-webclient client/web: precompress assets 1 year ago
checkmetrics cmd/checkmetrics: add command for checking metrics against kb 3 days ago
cloner cmd/cloner, cmd/viewer, util/codegen: add support for aliases of cloneable types 3 months ago
connector-gen cmd/connector-gen: add helper tool for wide app connector configurations 12 months ago
containerboot cmd/containerboot: serve health on local endpoint (#14246) 3 days ago
derper tsweb: change RequestID format to have a date in it 2 weeks ago
derpprobe cmd/derpprobe,prober: add ability to restrict derpprobe to a single region 3 weeks ago
dist release/dist/qnap: add qnap target builder 8 months ago
get-authkey client/tailscale,cmd/{cli,get-authkey,k8s-operator}: set distinct User-Agents 2 months ago
gitops-pusher cmd/gitops-pusher: ignore previous etag if local acls match control (#13068) 4 months ago
hello cmd/hello: link to the Hello KB article (#11022) 10 months ago
k8s-nameserver cmd/k8s-nameserver: fix AAAA record query response (#12412) 6 months ago
k8s-operator cmd/containerboot: serve health on local endpoint (#14246) 3 days ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion
nardump
natc cmd/natc: fix nil pointer 3 months ago
netlogfmt all: use Go 1.22 range-over-int 8 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy tsnet: split user facing and backend logging 7 months ago
printdep
proxy-to-grafana cmd/proxy-to-grafana: add flag for alternative control server 6 months ago
sniproxy all: use math/rand/v2 more 6 months ago
speedtest
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc cmd/stunc: support user-specified port (#12469) 6 months ago
stund tsweb: change RequestID format to have a date in it 2 weeks ago
stunstamp cmd/stunstamp: add protocol context to timeout logs (#13422) 3 months ago
sync-containers all: adjust some build tags for plan9 1 year ago
systray cmd/systray: handle reconnects to IPN bus (#13386) 3 months ago
tailscale cmd/tailscale/cli: fix format string 1 week ago
tailscaled cmd/tailscaled: log SCM interactions if the policy setting is enabled at the time of interaction 2 weeks ago
testcontrol all: use Go 1.22 range-over-int 8 months ago
testwrapper cmd/testwrapper: add pkg runtime to output (#13894) 1 month ago
tl-longchain cmd/tl-longchain: tool to re-sign nodes with long rotation signatures 4 months ago
tsconnect all: use iterators over slice views more 3 weeks ago
tsidp cmd/tsidp: add --dir flag 2 months ago
tsshd
tta cmd/tta: pull out test driver dialing into a type, fix bugs 3 months ago
viewer cmd/viewer: import types/views when generating a getter for a map field 1 month ago
vnet tstest/natlab/vnet: add start of IPv6 support 3 months ago
xdpderper all: add test for package comments, fix, add comments as needed 5 months ago