Scraping Logs from kube-system pods not working

Trying to get the logs from system pods such as the api manager, controller, etc. I have this PodLog config and it will get logs from say the calico pods in the kube-system workspace but not the others

apiVersion: monitoring.grafana.com/v1alpha1
kind: PodLogs
metadata:
  labels:
    instance: grafana-agent-pod-logs-dev
  name: grafana-agent-pod-logs
  namespace: grafana-agent
spec:
  pipelineStages:
    - docker: {}
  namespaceSelector:
    any: true
  selector:
    matchLabels: {}
1 Like