Allow nginx Ingress controller run as DaemonSet

This commit is contained in:
Manuel de Brito Fontes 2016-02-27 12:17:54 -03:00
parent 3da4e74e5a
commit a87efce5c2
5 changed files with 133 additions and 37 deletions

View file

@ -26,6 +26,7 @@ import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/runtime"
)
const (
@ -85,10 +86,10 @@ func main() {
}
}
// lbInfo contains runtime information about the pod and replication controller
// lbInfo contains runtime information about the pod
type lbInfo struct {
RCNamespace string
RCName string
ObjectName string
DeployType runtime.Object
Podname string
PodIP string
PodNamespace string