Files
vino/go.mod
Alexander Hughes e72689f456 Add network info node label to ViNO
ViNO will need to be able to "bubble up" information about the
physical hosts and label the nodes appropriately. The target of this
change is to add the VM Bridge Interface IP address as a label.

To accomplish this, this change:
- Adds nodelabeler/main.go containing code based off code from [0]
  this code is responsible for labeling a variable node, with the ip
  address obtained from a variable interface name
- Adds a dockerfile to place the binary created by nodelabeler/main.go
  in a minimal image to be run as a DaemonSet
- Adds a DaemonSet responsible for spawning this container on each
  host. Notably the hostNetwork: true flag is used in order to get
  the correct interface name and IP address.
- Minor changes to go.mod and go.sum as new dependencies are
  introduced by nodelabeler/main.go

[0] https://github.com/vexxhost/node-labeler

Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
Change-Id: Ibdaef6dc08bcfaccbead29eee29787971c2399d0
2021-01-12 23:17:28 +00:00

24 lines
745 B
Modula-2

module vino
go 1.13
require (
github.com/evanphx/json-patch v4.9.0+incompatible
github.com/go-logr/logr v0.3.0
github.com/kr/text v0.2.0 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/onsi/ginkgo v1.14.2
github.com/onsi/gomega v1.10.2
github.com/prometheus/common v0.10.0
github.com/stretchr/testify v1.6.1 // indirect
go.uber.org/zap v1.15.0
golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
k8s.io/api v0.19.2
k8s.io/apimachinery v0.19.2
k8s.io/client-go v0.19.2
sigs.k8s.io/controller-runtime v0.7.0
sigs.k8s.io/yaml v1.2.0
)