Commit Graph

197 Commits (bwplotka-patch-2)

Author SHA1 Message Date
Aniket Kaulavkar f7685caf0d Parallelize discovery/kubernetes tests using t.Parallel() 1 year ago
Matthieu MOREL af1a19fc78 enable errorf rule from perfsprint linter 1 year ago
Giedrius Statkevičius 58fedb6b61 discovery/kubernetes: optimize more gets 1 year ago
Giedrius Statkevičius 716fd5b11f discovery/kubernetes: use namespacedName 1 year ago
Giedrius Statkevičius e452308e37 discovery/kubernetes: optimize resolvePodRef 1 year ago
machine424 b1c356beea
fix(discovery): Handle cache.DeletedFinalStateUnknown in node informers' DeleteFunc 1 year ago
TJ Hoplock 6ebfbd2d54 chore!: adopt log/slog, remove go-kit/log 1 year ago
bas smit 73997289c3 tests: update discovery tests with new labael 1 year ago
bas smit a10dc9298e sd k8s: support sidecar containers in endpoint discovery 1 year ago
bas smit 7a90d73fa6 sd k8s: test for sidecar container support in endpoints 1 year ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1 1 year ago
cuiweiyuan 1800af54f0 chore: fix some function names 1 year ago
Simon Pasquier 145988d48f
discovery(k8s): remove support for API versions no longer served 2 years ago
Simon Pasquier 7704cde4ea
discovery(k8s): add metadata labels to endpointslices 2 years ago
hanghuge c14a158d03 Signed-off-by: hanghuge <cmoman@outlook.com> 2 years ago
machine424 0e81ab44a2
discovery(k8s): add a metric to track failed requests, failures will still be logged. 2 years ago
machine424 92544c00bf
discovery: kubernetes: Avoid creating unnecessary Kubernetes indexers in RoleEndpointSlice 2 years ago
Ayoub Mrini 581d8d86b4
Pod status changes not discovered by Kube Endpoints SD (#13337) 2 years ago
Paweł Szulik 7f24efccdb Refactor discovery tests to use testify. 2 years ago
Paulin Todev 78411d5e8b
SD Managers taking over responsibility for registration of debug metrics (#13375) 2 years ago
machine424 2d01e56695
chore(kubernetes): check preconditions earlier and avoid unnecessary checks or iterations 2 years ago
Paulin Todev d2e997030e
Fix linter issues 2 years ago
Paulin Todev 27bb57a37b
Define metric label values in one place 2 years ago
Paulin Todev 108a749a45
Set up labels for counters in advance 2 years ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
Matthieu MOREL 68e6b4dd34
ci(lint): enable errorlint on discovery (#12918) 2 years ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926) 2 years ago
renzheng.wang b2c5de2e65 fix lint issue 3 years ago
renzheng.wang 98ffad01b8 update tests and docs 3 years ago
renzheng.wang 866fa25b20 add label and labelpresent for endpointslice role in k8s discovery 3 years ago
Mickael Carl 2f35619710 discovery/kubernetes: attach node labels when the endpoints TargetRef's kind are Node 3 years ago
cui fliter 276ca6a883 fix some comments 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci 3 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
Peter Nicholson 138a1362d8 Add support for EndpointSlice conditions 3 years ago
Ben Whetstone 32e9f6a39c Add container ID as a meta label for pod targets 3 years ago
Jens Erat 728fdc959e
Kubernetes SD: disable resync timer 3 years ago
Julien Pivotto 3677d61a4b Update kubernetes dependencies 3 years ago
Aaron George d542483e8c k8s discovery: Ensure that the pod IP is in the status before adding to target group 3 years ago
Maciej Borsz 56eba3ace2 Use protobuf encoding in client-go 3 years ago
Karl Piplies 3782cb40d5 add loadbalancerip to service labels 3 years ago
Robert Fratto 97be65387d discovery/kubernetes: fix broken tests 4 years ago
Robert Fratto 823d24d1e9 discovery/kubernetes: add container image as metadata 4 years ago
yngwiewang 1abbf5a5c5 add __meta_kubernetes_service_port_number (#10945) 4 years ago
Filip Petkovski 05da373dcb
kubernetes_sd: Allow attaching node labels for endpoint role 4 years ago
Filip Petkovski 7a78897d0b
Improve reliability of Kubernetes SD tests (#10761) 4 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 4 years ago