Skip to content

high-available tailscale networked cluster fails to start properly #913

@matti

Description

@matti

I want to connect to my cluster over tailscale and use tailscale between the nodes. I don't have firewall enabled on the machines. With various configs I'm able to bootstrap the cluster, but usually address is picked up from eth0 (public ip) or any other controller fails to properly start (konnectivity doesn't come ready)

I think this is related: #760

here's one of the configs I've tried:

apiVersion: k0sctl.k0sproject.io/v1beta1
kind: Cluster
metadata:
  name: k0s-cluster
  user: admin
spec:
  hosts:
  - ssh:
      address: hetzner-tuusula-1
      user: root
    role: controller+worker
    privateInterface: tailscale0
  - ssh:
      address: hetzner-tuusula-2
      user: root
    role: controller+worker
    privateInterface: tailscale0
  - ssh:
      address: hetzner-tuusula-3
      user: root
    role: controller+worker
    privateInterface: tailscale0
  k0s:
    config:
      apiVersion: k0s.k0sproject.io/v1beta1
      kind: ClusterConfig
      metadata:
        name: k0s
        namespace: kube-system
      spec:
        storage:
          type: kine
          kine:
            dataSource: postgres://postgres:[email protected]:5432/k0s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions