Skip to content

Conversation

@jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Dec 26, 2025

This sets a networkPolicy for pcm. It is useful for environments where a default deny network policy is created. It further documents the behavior by using named ports within the pod.

This policy is easy to modify for folks who want to limit access to only the prometheus server.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a NetworkPolicy for the PCM (Performance Counter Monitor) service to support Kubernetes environments with default deny network policies. The changes make the network configuration more explicit and maintainable by using named ports.

  • Updates health check probes to reference ports by name instead of number
  • Adds a NetworkPolicy resource allowing ingress traffic to the metrics endpoint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
@jcpunk jcpunk force-pushed the port-names-and-policies branch from 326c675 to e9fb92f Compare December 29, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant