Commit Graph

185 Commits (0f760f63dd5137ad406e0bc9f08676898e04ac97)

Author SHA1 Message Date
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 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
Bryan Boreham 6005ac6f9d
Merge pull request #9311 from Creatone/creatone/use-testify-3
10 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
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