mirror of
https://github.com/rancher/rke.git
synced 2025-09-25 14:48:06 +00:00
Cluster Down/Remove
Reverse order and add force flag
This commit is contained in:
@@ -42,6 +42,10 @@ func upgradeKubeController(host hosts.Host, kubeControllerService v1.KubeControl
|
||||
|
||||
}
|
||||
|
||||
func removeKubeController(host hosts.Host) error {
|
||||
return docker.DoRemoveContainer(host.DClient, KubeControllerContainerName, host.AdvertisedHostname)
|
||||
}
|
||||
|
||||
func buildKubeControllerConfig(kubeControllerService v1.KubeControllerService) (*container.Config, *container.HostConfig) {
|
||||
imageCfg := &container.Config{
|
||||
Image: kubeControllerService.Image,
|
||||
|
Reference in New Issue
Block a user