Commit Graph

174 Commits (8065bef172e8d88e22399504b175a8c9115e9da3)

Author SHA1 Message Date
Paulin Todev d2e997030e
Fix linter issues
12 months ago
Paulin Todev 27bb57a37b
Define metric label values in one place
12 months ago
Paulin Todev 108a749a45
Set up labels for counters in advance
12 months ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Matthieu MOREL 68e6b4dd34
ci(lint): enable errorlint on discovery (#12918)
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Julien Pivotto 2bdb2e627f
Merge pull request #10914 from wangrzneu/add-endpointslice-label
1 year ago
Julien Pivotto 076056ccdf
Merge pull request #11642 from zoonage/main
1 year ago
renzheng.wang b2c5de2e65 fix lint issue
2 years ago
renzheng.wang 98ffad01b8 update tests and docs
2 years ago
renzheng.wang 866fa25b20 add label and labelpresent for endpointslice role in k8s discovery
2 years ago
Mickael Carl 2f35619710 discovery/kubernetes: attach node labels when the endpoints TargetRef's kind are Node
2 years ago
cui fliter 276ca6a883 fix some comments
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
Peter Nicholson 138a1362d8 Add support for EndpointSlice conditions
2 years ago
Ben Whetstone 32e9f6a39c Add container ID as a meta label for pod targets
2 years ago
Jens Erat 728fdc959e
Kubernetes SD: disable resync timer
2 years ago
Julien Pivotto 3677d61a4b Update kubernetes dependencies
2 years ago
Aaron George d542483e8c k8s discovery: Ensure that the pod IP is in the status before adding to target group
2 years ago
Maciej Borsz 56eba3ace2 Use protobuf encoding in client-go
2 years ago
Karl Piplies 3782cb40d5 add loadbalancerip to service labels
2 years ago
Frederic Branczyk 414c3e549c
Merge pull request #11002 from yngwiewang/feature/k8s-service-port-number
2 years ago
Robert Fratto 97be65387d discovery/kubernetes: fix broken tests
2 years ago
Robert Fratto 823d24d1e9 discovery/kubernetes: add container image as metadata
2 years ago
yngwiewang 1abbf5a5c5 add __meta_kubernetes_service_port_number (#10945)
2 years ago
Filip Petkovski 05da373dcb
kubernetes_sd: Allow attaching node labels for endpoint role
2 years ago
Filip Petkovski 7a78897d0b
Improve reliability of Kubernetes SD tests (#10761)
3 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
nixargh e76c6aac50 Fix #10507: explicitly include gcp auth from k8s.io to kubernetes discovery
3 years ago
Furkan 2939966634
Kubernetes SD: Support discovery.k8s.io/v1 EndpointSlice
3 years ago
fpetkovski 16bd0d7d5c
Index pods by node name
3 years ago
fpetkovski fa798d3042
Allow attaching node metadata
3 years ago
cui fliter c9b56d1a49
all: fix some typos (#10389)
3 years ago
beorn7 35010daa90 Merge branch 'release-2.33' into beorn7/cleaning-up-cherrypicking-fallout
3 years ago
Julien Pivotto 9d63502204 k8s: improve 'own_namespace'
3 years ago
Georg Gadinger c85efa02d9 Fix k8s target discovery when not running inside k8s
3 years ago
Georg Gadinger 4663f814d6 Fix k8s target discovery when not running inside k8s
3 years ago
fpetkovski de87515b24 Implement target discovery in own k8s namespace
3 years ago
Ed Schouten a3e9628e0c
Kubernetes service discovery: add provider ID label (#9603)
3 years ago
Mateusz Gozdek ea924746b3
discovery/kubernetes: improve test logic for waiting for discoverers (#9584)
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
akatsadimas ee77a6212f discovery/kubernetes: issue overcapacity warning for endpoint rather than endpointslice
3 years ago
akatsadimas dd2e666a8d discovery/kubernetes: Warn user in case of endpoint over-capacity
3 years ago