Skip to content

Option to be able to specify which private interface is selected #229

Closed

Description

I have multiple interfaces on the machines I'm using; the default is working for me at the moment, but I'm about to add some machines in a different location, which will connect over zerotier's interface. I don't think this will be possible without k0sctl supporting selecting which interface to use?

It would be nice if I could simply do:

  - ssh:
      address: 192.168.86.214
      user: root
      port: 22
      keyPath: /Users/russ/.dotfiles/scripts/k8s/cluster.key
    privateInterface: p4p1
    role: controller+worker%

or, if it picked the interface based on the address specified - but that might change the behavior?

  - ssh:
      address: 10.251.251.214
      user: root
      port: 22
      keyPath: /Users/russ/.dotfiles/scripts/k8s/cluster.key
    role: controller+worker%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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