Check connections between service monitors, services and deployments, by parsing the yaml files.
go install github.com/slarwise/konnektor
konnektor ./examples/*
kustomize build ./examples | konnektor
Example output:
servicemonitors:
- name: myapp
services:
- myapp
services:
- name: myapp
deployments:
- myapp