Metrics-API Scaler Feature Question #6638
-
Hi, ERROR scale_handler error getting metric for trigger {"scaledObject.Namespace": "tenable-enclave-security", "scaledObject.Name": "scanner-ss-scaledobject", "trigger": "metricsAPIScaler", "error": "error requesting metrics endpoint: Get "https://tes.tenable-enclave-security.svc.cluster.local/rest/scanResult\": remote error: tls: certificate required" I have tested from a pod in the same namespace using the following command and it returns results: Is there a way to pass both the x-apikey header and the tls certificate to the scaler? Or is that something that could be included in a future release of the scaler? Any response would be appreciated. Thom Inglin |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi Thom, That is currently not supported in the Metrics API scaler. That would indeed require an adjustment. Is that something you would like to contribute? And just curious. In your curl command, do you need both, x-apikey and TLS, or would it also work with just only TLS? |
Beta Was this translation helpful? Give feedback.
-
Configure both x-apikey and tls for Metrics-Api Scaler #6642 |
Beta Was this translation helpful? Give feedback.
Configure both x-apikey and tls for Metrics-Api Scaler #6642