Use minus - sign at the end of the annotation in kubectl annotate.
Example:
kubectl annotate service shopping-cart prometheus.io/scrape-
Removes annotation prometheus.io/scrape from shopping-cart service.
Use minus - sign at the end of the annotation in kubectl annotate.
Example:
kubectl annotate service shopping-cart prometheus.io/scrape-
Removes annotation prometheus.io/scrape from shopping-cart service.