mirror of
https://github.com/rancher/rke.git
synced 2025-09-18 16:36:41 +00:00
add support for specifc control plane IP per host
This commit is contained in:
@@ -10,12 +10,13 @@ type Hosts struct {
|
||||
}
|
||||
|
||||
type Host struct {
|
||||
IP string `yaml:"ip"`
|
||||
Role []string `yaml:"role"`
|
||||
Hostname string `yaml:"hostname"`
|
||||
User string `yaml:"user"`
|
||||
DockerSocket string `yaml:"docker_socket"`
|
||||
DClient *client.Client
|
||||
IP string `yaml:"ip"`
|
||||
ControlPlaneIP string `yaml:"control_plane_ip"`
|
||||
Role []string `yaml:"role"`
|
||||
Hostname string `yaml:"hostname"`
|
||||
User string `yaml:"user"`
|
||||
DockerSocket string `yaml:"docker_socket"`
|
||||
DClient *client.Client
|
||||
}
|
||||
|
||||
func DivideHosts(hosts []Host) ([]Host, []Host, []Host) {
|
||||
|
Reference in New Issue
Block a user