Skip to content

Kubeproxy's Windows proxy modes don't work. #56522

Closed
@gkudra-msft

Description

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

What happened: When running kubeproxy.exe, and passing the --proxy-mode=kernelspace flag which was introduced in PR #51064 , the following error occurs:

error: KubeProxyConfiguration.Mode.ProxyMode: Invalid value: "kernelspace": must be 
userspace,iptables,ipvs or blank (blank means the best-available proxy (currently iptables)

What you expected to happen: The proxy should work as it used to, supporting this mode.

How to reproduce it (as minimally and precisely as possible):

./kube-proxy.exe --proxy-mode=kernelspace

Anything else we need to know?: This was introduced after the validation was refactored in this PR which regressed validation for --proxy-mode=kernelspace. IPVS validation (and thus support) was later added here, but we need another mode for Windows.

Environment:

  • Kubernetes version (use kubectl version): v1.10.0-alpha.0.684+51033c4dec6e00
  • Cloud provider or hardware configuration: n/a
  • OS (e.g. from /etc/os-release): Windows Server Core 1709
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.milestone/needs-approvalpriority/critical-urgentHighest priority. Must be actively worked on as someone's top priority right now.sig/networkCategorizes an issue or PR as relevant to SIG Network.sig/windowsCategorizes an issue or PR as relevant to SIG Windows.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions