tailscale / tailscale/tailscale

FR: k8s refresh hostname from annotation

Open
#7,804 1 comment 0 reactions 0 assignees View on GitHub
fr kubernetes L2 Few P1 Nuisance T0 New feature
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
2d 3h
Merged PRs (30d)
123

Description

### What are you trying to do?

It's possible to set the hostname of a loadbalancer using

```cue
metadata: annotations: "tailscale.com/hostname": "some-name"
```

The hostname does not update if the annotation is changed however. The only way to force a refresh is to delete the secret and statefulset associated with the lb.

### How should we solve this?

It may be possible to watch for changes to the resource - at a minimum, it should check the hostname when the pod for the statefulset or operator is restarted.

### What is the impact of not solving this?

It will be tedious to change the hostname of an lb service.

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.