Azure / aks-app-routing-operator

Kubernetes operator that implements AKS Application Routing
https://learn.microsoft.com/en-us/azure/aks/app-routing
MIT License
30 stars 22 forks source link

Adding Ingress Controller Labels for Metrics to Ingress Controller Pods #49

Closed jaiveerk closed 1 year ago

jaiveerk commented 1 year ago

Description

Adding the following labels to pods deployed as part of WAR's ingress controller deployments to be able to query metrics from them without scraping the pods directly.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s)?

Unit tests have been added to ensure that changes to fixtures are limited to what they're intended to be. These labels have also been manually tested in the AKS operator to ensure they work as intended for metrics collection purposes.

Checklist: