1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 06:59:25 +00:00

add network plugin support

add template configration through env variables

add kubedns addon
This commit is contained in:
moelsayed
2017-11-06 22:50:41 +02:00
parent 66fd6c4eba
commit babe95f183
13 changed files with 504 additions and 1 deletions

View File

@@ -77,6 +77,16 @@ func ClusterUp(clusterFile, authType string) (string, string, string, string, er
return ApiURL, caCrt, clientCert, clientKey, err
}
err = kubeCluster.DeployNetworkPlugin()
if err != nil {
return ApiURL, caCrt, clientCert, clientKey, err
}
err = kubeCluster.DeployK8sAddOns()
if err != nil {
return ApiURL, caCrt, clientCert, clientKey, err
}
err = kubeCluster.SaveClusterState(clusterFile)
if err != nil {
return ApiURL, caCrt, clientCert, clientKey, err