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

Use Rancher Kubernetes image

This commit is contained in:
galal-hussein
2017-11-22 22:46:01 +02:00
parent 9903d61dbc
commit c254de34f3
6 changed files with 10 additions and 15 deletions

View File

@@ -50,8 +50,7 @@ func removeKubeAPI(host hosts.Host) error {
func buildKubeAPIConfig(host hosts.Host, kubeAPIService v1.KubeAPIService, etcdConnString string) (*container.Config, *container.HostConfig) {
imageCfg := &container.Config{
Image: kubeAPIService.Image,
Cmd: []string{"/hyperkube",
"apiserver",
Entrypoint: []string{"kube-apiserver",
"--insecure-bind-address=127.0.0.1",
"--insecure-port=8080",
"--secure-port=6443",