Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

proxy server in userspace mode consumes ports that have not been properly allocated from the resource offer #257

Open
jdef opened this issue May 6, 2015 · 2 comments

Comments

@jdef
Copy link

jdef commented May 6, 2015

proxy listens on random ports:

https://github.com/GoogleCloudPlatform/kubernetes/blob/release-0.14/pkg/proxy/proxier.go#L497

we probably want to introduce a port allocator interface:

type PortAllocator interface {
  Alloc() (int, error)
  Free(int)
}

and update the proxy to use it. Probably two initial implementations:

  1. RandomAllocator : Alloc() always returns 0, Free() is a noop
  2. RangesAllocator : allocates ports from a spec'd mesos Range resource
@jdef
Copy link
Author

jdef commented Jun 3, 2015

upstream support has landed for configuring the proxy port range

@jdef jdef removed the priority/P0 label Aug 11, 2015
@jdef jdef removed this from the EPIC: DCOS beta certification milestone Oct 23, 2015
@jdef jdef changed the title proxy server consumes ports that have not been properly allocated from the resource offer proxy server in userspace mode consumes ports that have not been properly allocated from the resource offer Feb 21, 2016
@jdef
Copy link
Author

jdef commented Feb 21, 2016

this issue does not refer to the node ports support kube-proxy, but instead to the allocation scheme implemented by the userspace proxy module in kube-proxy. see discussion in #791

placing this on hold for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants