Add calico ServiceMonitor
Overview
This MR creates a service monitor to allow exporting of the calico metrics to Prometheus. It creates an additional service that will be used to expose the calico pod metrics on the kube-system
and deprecate the previous pod monitor which was not working.
Part of #14458
Testing
- Check targets in
gstg
and make sure thatcalico-node
shows up. - Check
felix_cluster_num_policies
that is returns data for non-production environments
Edited by Steve Xuereb