mirror of
https://github.com/rancher/rke.git
synced 2025-09-16 06:59:25 +00:00
External etcd
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func runKubeAPI(ctx context.Context, host *hosts.Host, df hosts.DialerFactory, prsMap map[string]v3.PrivateRegistry, kubeAPIProcess v3.Process) error {
|
||||
|
||||
imageCfg, hostCfg, healthCheckURL := getProcessConfig(kubeAPIProcess)
|
||||
if err := docker.DoRunContainer(ctx, host.DClient, imageCfg, hostCfg, KubeAPIContainerName, host.Address, ControlRole, prsMap); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user