Skip to content

Conversation

@hippogr
Copy link
Contributor

@hippogr hippogr commented Oct 21, 2025

The default value of externalTrafficPolicy setting of load balancer for Pylon and SSH is Cluster, which means that the requests will send to either paimaster node or sysnodepool nodes. Since both of the services are running only on paimaster node, it may bring performance issues. In this PR, we set the value of externalTrafficPolicy to Local so the requests will be sent to paimaster directly.

@hippogr hippogr requested review from abuccts, Copilot and zhogu October 21, 2025 07:26
Copy link

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 optimizes the network routing for Pylon and SSH services by configuring externalTrafficPolicy: Local on their LoadBalancer services. Since these services run exclusively on the paimaster node, this change prevents unnecessary routing through worker nodes, improving performance and reducing latency.

Key changes:

  • Added externalTrafficPolicy: Local to SSH proxy LoadBalancer service configuration
  • Added externalTrafficPolicy: Local to Pylon LoadBalancer service configuration

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/ssh-proxy/deploy/ssh-proxy.yaml.template Added externalTrafficPolicy configuration to optimize SSH service routing
src/pylon/deploy/pylon-service.yaml Added externalTrafficPolicy configuration to optimize Pylon service routing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

3 participants