Allow nginx Ingress controller run as DaemonSet
This commit is contained in:
parent
3da4e74e5a
commit
a87efce5c2
5 changed files with 133 additions and 37 deletions
7
controllers/nginx-third-party/main.go
vendored
7
controllers/nginx-third-party/main.go
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue