196 Commits (main)

Author SHA1 Message Date
Matthieu MOREL af1a19fc78 enable errorf rule from perfsprint linter 2 weeks ago
Giedrius Statkevičius 58fedb6b61 discovery/kubernetes: optimize more gets 3 weeks ago
Giedrius Statkevičius 716fd5b11f discovery/kubernetes: use namespacedName 3 weeks ago
Giedrius Statkevičius e452308e37 discovery/kubernetes: optimize resolvePodRef 3 weeks ago
machine424 b1c356beea
fix(discovery): Handle cache.DeletedFinalStateUnknown in node informers' DeleteFunc 1 month ago
TJ Hoplock 6ebfbd2d54 chore!: adopt log/slog, remove go-kit/log 2 months ago
bas smit 73997289c3 tests: update discovery tests with new labael 2 months ago
bas smit a10dc9298e sd k8s: support sidecar containers in endpoint discovery 2 months ago
bas smit 7a90d73fa6 sd k8s: test for sidecar container support in endpoints 2 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 3 months ago
cuiweiyuan 1800af54f0 chore: fix some function names 3 months ago
Simon Pasquier 145988d48f
discovery(k8s): remove support for API versions no longer served 5 months ago
Simon Pasquier 7704cde4ea
discovery(k8s): add metadata labels to endpointslices 7 months ago
hanghuge c14a158d03 Signed-off-by: hanghuge <cmoman@outlook.com> 8 months ago
machine424 0e81ab44a2
discovery(k8s): add a metric to track failed requests, failures will still be logged. 9 months ago
machine424 92544c00bf
discovery: kubernetes: Avoid creating unnecessary Kubernetes indexers in RoleEndpointSlice 9 months ago
Ayoub Mrini 581d8d86b4
Pod status changes not discovered by Kube Endpoints SD (#13337) 10 months ago
Paweł Szulik 7f24efccdb Refactor discovery tests to use testify. 10 months ago
Paulin Todev 78411d5e8b
SD Managers taking over responsibility for registration of debug metrics (#13375) 10 months ago
machine424 2d01e56695
chore(kubernetes): check preconditions earlier and avoid unnecessary checks or iterations 10 months ago
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
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
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
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) 2 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