Hi I am trying to install the k8s-infra using the ...
# support
r
Hi I am trying to install the k8s-infra using the following link, https://signoz.io/docs/tutorial/kubernetes-infra-metrics/ Following is my override yaml
Copy code
global:
  cloud: gcp/autogke
  clusterName: bruh-cluster
  deploymentEnvironment: staging
otelCollectorEndpoint: signoz-k8-k8s-infra-otel-agent.platform.svc.cluster.local:4317
otelInsecure: true
presets:
  otlpExporter:
    enabled: true
  loggingExporter:
    enabled: false
  kubeletMetrics:
    authType: none
    endpoint: ${K8S_NODE_NAME}:10255
  resourceDetection:
    detectors:
      - gcp
      - system
I am getting following logs on otel-agent pods
Copy code
2024-10-02T06:32:59.798Z	warn	envprovider@v1.15.0/provider.go:51	Configuration references unset environment variable	{"name": "SIGNOZ_API_KEY"}
Error: invalid configuration: receivers::hostmetrics: invalid root_path: stat /hostfs: no such file or directory
2024/10/02 06:32:59 collector server run finished with error: invalid configuration: receivers::hostmetrics: invalid root_path: stat /hostfs: no such file or directory
Any idea what is causing this? FYI : release name for k8s infra is
signoz-k8
release name for signoz is
signoz
Found the issue, host metrics is enabled by default, disabling this fixed it.
Copy code
presets:
  hostMetrics:
    enabled: false
Probably I think this can be included in the override-values.yaml for GKE(Autopilot) under self-host
p
Thanks for reporting this, Rohan.