metal3-io / cluster-api-provider-metal3

Metal³ integration with https://github.com/kubernetes-sigs/cluster-api
Apache License 2.0
210 stars 91 forks source link

Support selection of capm3 and ipam pods for K8s service #2048

Open prabhu43 opened 3 hours ago

prabhu43 commented 3 hours ago

User Story

As a developer I would like to add K8s Service for both capm3-controller-manager and ipam-controller-manager for deploying Prometheus ServiceMonitor to enable metrics collection

Detailed Description

As capm3-controller-manager and ipam-controller-manager pods have same labels, We could not select the pods with unique labels in Service.

      cluster.x-k8s.io/provider: infrastructure-metal3
      control-plane: controller-manager
      controller-tools.k8s.io: "1.0"

Solution:

/kind feature

metal3-io-bot commented 3 hours ago

This issue is currently awaiting triage. If Metal3.io contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.