Documentation ¶
Index ¶
- Constants
- func GetEtcdConnString(hosts []*hosts.Host) string
- func GetKubernetesServiceIP(serviceClusterRange string) (net.IP, error)
- func RemoveControlPlane(controlHosts []*hosts.Host, force bool) error
- func RemoveEtcdPlane(etcdHosts []*hosts.Host) error
- func RemoveWorkerPlane(workerHosts []*hosts.Host, force bool) error
- func RollingUpdateNginxProxy(cpHosts []*hosts.Host, workerHosts []*hosts.Host, nginxProxyImage string) error
- func RunControlPlane(controlHosts []*hosts.Host, etcdHosts []*hosts.Host, ...) error
- func RunEtcdPlane(etcdHosts []*hosts.Host, etcdService v3.ETCDService) error
- func RunWorkerPlane(controlHosts []*hosts.Host, workerHosts []*hosts.Host, ...) error
Constants ¶
View Source
const ( NginxProxyImage = "rancher/rke-nginx-proxy:0.1.0" NginxProxyEnvName = "CP_HOSTS" )
View Source
const ( ETCDRole = "etcd" ControlRole = "controlplane" WorkerRole = "worker" KubeAPIContainerName = "kube-api" KubeletContainerName = "kubelet" KubeproxyContainerName = "kube-proxy" KubeControllerContainerName = "kube-controller" SchedulerContainerName = "scheduler" EtcdContainerName = "etcd" NginxProxyContainerName = "nginx-proxy" )
Variables ¶
This section is empty.
Functions ¶
func GetEtcdConnString ¶
func GetKubernetesServiceIP ¶
func RemoveEtcdPlane ¶
func RollingUpdateNginxProxy ¶
func RunControlPlane ¶
func RunEtcdPlane ¶
func RunEtcdPlane(etcdHosts []*hosts.Host, etcdService v3.ETCDService) error
func RunWorkerPlane ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.