Closed yishaihl closed 3 years ago
@Simwar hey how are you? I saw you kinda master here.. any chance you can help me out here or try to direct me please?
Hey I am facing similar issue while fetching the custom metric for HPA. Getting this error
Error from server (Forbidden): error when retrieving current configuration of: Resource: "datadoghq.com/v1alpha1, Resource=datadogmetrics", GroupVersionKind: "datadoghq.com/v1alpha1, Kind=DatadogMetric" Name: "nginx-requests", Namespace: "iescapitalcloud-saas-abhishek" from server for: ".\datadog_metric_config.yml": datadogmetrics.datadoghq.com "nginx-requests" is forbidden: User "u-hbo6ghc7dw" cannot get resource "datadogmetrics" in API group "datadoghq.com" in the namespace "iescapitalcloud-saas-abhishek"
hey guys i’m trying to setup datadog as custom metric for my kubernetes hpa. the problem is that from the documentation (https://docs.datadoghq.com/agent/cluster_agent/external_metrics/?tab=daemonset#set-up-the-cluster-agent-external-metric-server) first of all i'm trying to understand if ‘Kubernetes aggregation layer’ is a prequisite when i’m running on EKS 1.18 or it’s enabled by default?
This is what i get from the HPA after setting the following configuration:
This is the errors i'm getting inside the cluster-agent:
and this is what i get from datadogmetric:
this is my cluster agent deployment:
Describe what happened: i'm trying to setup HPA using datadog custom metric using the official guide: [https://docs.datadoghq.com/agent/cluster_agent/external_metrics/?tab=helm] and for some reason the HPA can't grab the metrics.
Additional environment details (Operating System, Cloud provider, etc): EKS 1.18 Datadog Cluster Agent (v1.10.0)