1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-08 18:39:40 +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

@@ -48,8 +48,7 @@ func removeKubeproxy(host hosts.Host) error {
func buildKubeproxyConfig(host hosts.Host, kubeproxyService v1.KubeproxyService) (*container.Config, *container.HostConfig) {
imageCfg := &container.Config{
Image: kubeproxyService.Image,
Cmd: []string{"/hyperkube",
"proxy",
Entrypoint: []string{"kube-proxy",
"--v=2",
"--healthz-bind-address=0.0.0.0",
"--kubeconfig=" + pki.KubeProxyConfigPath,