Skip to content

IPset missing from gcr.io/google_containers/hyperkube-amd64 #57321

@roffe

Description

@roffe

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug

What happened:
Upgraded to Kuberenetes 1.9 and now IPVS mode in kube-proxy stopped working due to

I1218 09:59:28.446570       1 feature_gate.go:184] feature gates: map[SupportIPVSProxyMode:true]
E1218 09:59:28.463326       1 server_others.go:299] can't determine whether to use ipvs proxy, error: error getting ipset version, error: executable file not found in $PATH
I1218 09:59:28.464584       1 server_others.go:138] Using iptables Proxier

What you expected to happen:

Normal startup as it's been working flawless in 1.8.5

How to reproduce it (as minimally and precisely as possible):
Use kube-proxy with IPVS service mode on 1.9.0 hyperkube image from GCR

Anything else we need to know?:
If i exec into the running kube-proxy pod and do apt install ipset then restart the container kube-proxy starts in ipvs mode fine

Environment:

  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T20:55:30Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
  • Cloud provider or hardware configuration: On-prem
  • OS (e.g. from /etc/os-release): CoreOS Container Linux by CoreOS stable (1576.4.0)
  • Kernel (e.g. uname -a): 4.13.16-coreos-r2
  • Install tools: Own
  • Others:
docker version
Client:
 Version:      17.09.0-ce
 API version:  1.32
 Go version:   go1.8.4
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:24:58 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.09.0-ce
 API version:  1.32 (minimum version 1.12)
 Go version:   go1.8.4
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:24:58 2017
 OS/Arch:      linux/amd64
 Experimental: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.sig/networkCategorizes an issue or PR as relevant to SIG Network.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions