Conor Broderick
6766123f93
Replace regex with Secret type and remarshal config to hide secrets ( #2775 )
8 years ago
Fabian Reinartz
2ff8855ae6
discovery/k8s: update client library
8 years ago
Brian Akins
27d66628a1
Allow limiting Kubernetes service discover to certain namespaces
...
Allow namespace discovery to be more easily extended in the future by using a struct rather than just a list.
Rename fields for kubernetes namespace discovery
8 years ago
Tobias Schmidt
58cd39aacd
Follow golang naming conventions in discovery packages
8 years ago
Alex Somesan
b22eb65d0f
Cleaner separation between ServiceAccount and custom authentication in K8S SD ( #2348 )
...
* Canonical usage of cluster service-account in K8S SD
* Early validation for opt-in custom auth in K8S SD
* Fix typo in condition
8 years ago
Fabian Reinartz
d19d1bcad3
discovery: move into top-level package
8 years ago
Fabian Reinartz
b4d7ce1370
discovery: respect context cancellation everywhere
...
This also removes closing of the target group channel everywhere
as the contexts cancels across all stages and we don't care about
draining all events once that happened.
8 years ago
Fabian Reinartz
530cdba103
kubernetes: only use one error logging handler
8 years ago
Dominik Schulz
3d0fb0cf17
Avoid too generic label type.
8 years ago
Dominik Schulz
e1e30f12cd
Add Kubernetes-SD metrics.
8 years ago
Fabian Reinartz
3c8140f2e6
kubernetes: fix typo in endpoint switch case
8 years ago
Fabian Reinartz
ce45040e47
kubernetes: fix missing port labels
...
This commit fixes endpoint port labeling, adjusts tests accordingly
and enhances test delta printing
8 years ago
Fabian Reinartz
b24602f713
kubernetes: merge back into single configuration
8 years ago
Fabian Reinartz
a9cfb66b28
kubernetes: add node discovery
8 years ago
Fabian Reinartz
d896a654f9
kubernetes: Add discovery of services
8 years ago
Fabian Reinartz
6d269ed870
kubernetes: infer pod information in endpoints discovery
8 years ago
Fabian Reinartz
7c439a9060
kubernetes: use and vendor 1.5 client
8 years ago
Fabian Reinartz
de22524e57
kubernetes: add KubernetesV2 endpoints
8 years ago
Fabian Reinartz
2331701b50
kubernetes: Add K8S v2 pod discovery
...
This adds plumbing for a parallel version of the new K8S SD
and adds pod discovery as the first role.
8 years ago