1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 23:20:56 +00:00

Add initial support for additional network plugins

Refactor DeployNetworkPlugin()
Add calico network plugin
Add canal network plugin
This commit is contained in:
moelsayed
2017-11-22 01:49:30 +02:00
parent 0b5e65274c
commit 42b22e69b0
7 changed files with 776 additions and 13 deletions

View File

@@ -78,7 +78,7 @@ func buildEtcdConfig(host hosts.Host, etcdService v1.ETCDService, initCluster st
return imageCfg, hostCfg
}
func getEtcdConnString(hosts []hosts.Host) string {
func GetEtcdConnString(hosts []hosts.Host) string {
connString := ""
for i, host := range hosts {
connString += "http://" + host.AdvertiseAddress + ":2379"