server: Hookup kubelet hostport

Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
This commit is contained in:
Andrew Pilloud 2017-06-15 13:56:17 -07:00
parent 91ea67a8ff
commit 28cd8bde49
4 changed files with 60 additions and 0 deletions

View file

@ -16,6 +16,7 @@ import (
"golang.org/x/sys/unix"
"k8s.io/apimachinery/pkg/fields"
pb "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
"k8s.io/kubernetes/pkg/kubelet/network/hostport"
)
type sandboxNetNs struct {
@ -147,6 +148,7 @@ type sandbox struct {
trusted bool
resolvPath string
hostname string
portMappings []*hostport.PortMapping
}
const (