Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release 1.26] With tailscale --advertise-address passed to kube-apiserver shows both ipv4 as well as ipv6 address on a ipv6-only setup #8095

Closed
manuelbuil opened this issue Aug 2, 2023 · 1 comment
Assignees
Milestone

Comments

@manuelbuil
Copy link
Contributor

Backport: #8020

@est-suse
Copy link
Contributor

est-suse commented Aug 17, 2023

##Environment Details
VERSION=v1.26.7+k3s1
COMMIT=11482f9ee1ae58c775ee7c7d55892ef341699ecd

k3s version v1.26.7+k3s-11482f9e (11482f9e)
go version go1.20.6

Linux 5.11.0-1022-aws x86_64 GNU/Linux

PRETTY_NAME="Ubuntu 20.04.3 LTS"

Cluster Configuration:

NAME             STATUS   ROLES                       AGE    VERSION
ip-192-168-0-8   Ready    control-plane,etcd,master   6m3s   v1.26.7+k3s-11482f9e

config.yaml

=========== k3s config =========== 
write-kubeconfig-mode: 644
debug: true
token: YOUR_TOKEN_HERE

cluster-init: true
cluster-cidr: 2001:cafe:42:0::/56
service-cidr: 2001:cafe:42:1::/112
vpn-auth: "name=tailscale,joinKey=tskey-auth-m0rt@l-W0m3b@t"
node-ip: 2600:cade:iced:eeee:b7a1:6e49:b389:2e60

validation

Install tailscale
Copy config.yaml: sudo mkdir -p /etc/rancher/k3s/ && sudo cp config.yaml /etc/rancher/k3s/config.yaml
Install k3s: curl -sfL https://get.k3s.io |  INSTALL_K3S_COMMIT=11482f9ee1ae58c775ee7c7d55892ef341699ecd sh -
Validate everything is working as expected
NAME             STATUS   ROLES                       AGE    VERSION                INTERNAL-IP                               EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION    CONTAINER-RUNTIME
ip-192-168-0-8   Ready    control-plane,etcd,master   6m7s   v1.26.7+k3s-11482f9e   fd7a:115c:a1e0:ab12:4843:cd96:6240:da38   <none>        Ubuntu 20.04.6 LTS   5.15.0-1036-aws   containerd://1.7.3-k3s1


NAMESPACE     NAME                                      READY   STATUS      RESTARTS   AGE     IP                NODE             NOMINATED NODE   READINESS GATES
kube-system   coredns-59b4f5bbd5-lqkzb                  1/1     Running     0          5m17s   2001:cafe:42::3   ip-192-168-0-8   <none>           <none>
kube-system   helm-install-traefik-crd-hzffm            0/1     Completed   0          5m17s   2001:cafe:42::4   ip-192-168-0-8   <none>           <none>
kube-system   helm-install-traefik-mr9p4                0/1     Completed   1          5m17s   2001:cafe:42::2   ip-192-168-0-8   <none>           <none>
kube-system   local-path-provisioner-76d776f6f9-676l2   1/1     Running     0          5m17s   2001:cafe:42::5   ip-192-168-0-8   <none>           <none>
kube-system   metrics-server-68cf49699b-hvr7z           1/1     Running     0          5m17s   2001:cafe:42::6   ip-192-168-0-8   <none>           <none>
kube-system   svclb-traefik-f387aa39-kj6kb              2/2     Running     0          4m59s   2001:cafe:42::7   ip-192-168-0-8   <none>           <none>
kube-system   traefik-57c84cf78d-dbw8g                  1/1     Running     0          4m59s   2001:cafe:42::8   ip-192-168-0-8   <none>           <none>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants