Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

err: MissingEndpoint: 'Endpoint' configuration is required for this service #81

Open
kimabd opened this issue Apr 5, 2021 · 1 comment

Comments

@kimabd
Copy link

kimabd commented Apr 5, 2021

Hello, I'm running K8S v1.15.12 and Adapter v0.10.0. I have next error:
selectors:
I0413 13:51:41.576749 1 client.go:52] using AWS Region: request blocked by whitelist-route-regexp "'.'": /latest/meta-data/placement/availability-zone/
E0413 13:51:41.576871 1 client.go:79] err: MissingEndpoint: 'Endpoint' configuration is required for this service
E0413 13:51:41.576889 1 provider_external.go:32] bad request: MissingEndpoint: 'Endpoint' configuration is required for this service
I0413 13:51:41.813367 1 provider_external.go:18] Received request for namespace: default, metric name: sqs-requests-length, metric selectors:
I0413 13:51:41.891507 1 metric_cache.go:44] metric not found ExternalMetric/default/sqs-requests-length
I0413 13:51:56.710819 1 provider_external.go:18] Received request for namespace: sandbox, metric name: sqs-requests-length, metric selectors:
I0413 13:51:56.711317 1 client.go:52] using AWS Region: request blocked by whitelist-route-regexp "'.
'": /latest/meta-data/placement/availability-zone/
E0413 13:51:56.711461 1 client.go:79] err: MissingEndpoint: 'Endpoint' configuration is required for this service
E0413 13:51:56.711478 1 provider_external.go:32] bad request: MissingEndpoint: 'Endpoint' configuration is required for this service

Main points:

  1. I can't understand why is it blocking .* regex pattern of kiam whitelist-route-regexp
  2. is the MissingEndpoint endpoing related to path of kiam
  3. when I run Adapter v0.8.0. everything works(AWS creds injected via env. variables, assume role is also did'nt worked for me)
@kimabd kimabd changed the title ExternalMetricValueList: no metric query found err: MissingEndpoint: 'Endpoint' configuration is required for this service Apr 13, 2021
@kimabd
Copy link
Author

kimabd commented Apr 15, 2021

some updates so far

  1. for test purpose use kiam --whitelist-route-regexp=.* (without quotes)
  2. Don't use hiphens in queries id of ExternalMetric - External metrics API: ValidationError #2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant