Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AndrejsPon00
Copy link
Contributor

@AndrejsPon00 AndrejsPon00 commented Aug 22, 2025

Closes #227

  • Add a check that detects duplicate Prometheus target scrape URLs
  • Display misconfiguration error in the KOF UI
image

@AndrejsPon00 AndrejsPon00 force-pushed the add-misconfiguration-check branch from e98d2db to 91c26f4 Compare August 22, 2025 12:40
@aglarendil
Copy link
Contributor

as we discussed, hostNetwork does not work with istio-enabled environments.
hostNetwork is therefore enabled in non-istio profile

@aglarendil
Copy link
Contributor

kube-proxy works as soon as there is connectivity from control plane node to the IP:PORT of what is proxied. I think what happened is the local env misconfig on the side of @AndrejsPon00, possibly some security group or firewall.

@aglarendil
Copy link
Contributor

okay, I found the reason, here is how it should work:

  1. kof-collectors/values.yaml - leave 0.0.0.0:9090
  2. kof-child/values.yaml
    collectors/daemon/config
        receivers:
          prometheus:
            api_server:
              server_config:
                endpoint: ${env:OTEL_K8S_NODE_IP}:9090

@AndrejsPon00 AndrejsPon00 force-pushed the add-misconfiguration-check branch from 91c26f4 to 5332b10 Compare August 22, 2025 15:06
@AndrejsPon00 AndrejsPon00 force-pushed the add-misconfiguration-check branch from 5332b10 to 17ff70c Compare August 22, 2025 15:31
@AndrejsPon00 AndrejsPon00 added this pull request to the merge queue Aug 22, 2025
Merged via the queue into k0rdent:main with commit 6df9757 Aug 22, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this to Done in k0rdent Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Implement sanity check logic and show/send warnings if collectors are misconfigured

4 participants