-
Notifications
You must be signed in to change notification settings - Fork 2
Feat/gluekube integration #985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
There was a problem hiding this 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 integrates GlueKube functionality by transitioning from NodePort-based services to LoadBalancer services with external IPs and node affinity controls. The changes enable dedicated load balancer nodes and support for internal/private load balancing configurations.
- Removes NodePort configuration in favor of LoadBalancer with external IPs
- Adds node affinity rules to schedule ingress controllers on dedicated LB nodes
- Introduces internal load balancer support configuration
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| values.yaml | Removes node_ports configuration block and adds nginx.internal.enabled flag |
| templates/glueops-platform-ingress/application-nginx-glueops-platform-oauth2.yaml | Replaces NodePort config with LoadBalancer using external IPs, adds node affinity for use-as-lb nodes, removes AWS NLB-specific timing configurations |
| templates/application-nginx-public.yaml | Replaces NodePort config with LoadBalancer using external IPs, adds node affinity for use-as-public-lb nodes |
| README.md | Updates documentation to reflect removal of node_ports parameters and addition of nginx.internal.enabled |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| {{- end }} | ||
| type: "LoadBalancer" | ||
| externalIPs: [{{ .Values.public_loadbalancer_ips.public | join ", " }}] |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing required values definition. The code references .Values.public_loadbalancer_ips.public but this value is not defined in values.yaml, which will cause template rendering to fail.
| externalIPs: [{{ .Values.public_loadbalancer_ips.public | join ", " }}] | |
| externalIPs: [{{ .Values.public_loadbalancer_ips.public | default (list) | join ", " }}] |
| {{- end }} | ||
| type: "LoadBalancer" | ||
| externalIPs: [{{ .Values.private_loadbalancer_ips.public | join ", " }}] |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing required values definition. The code references .Values.private_loadbalancer_ips but this value is not defined in values.yaml, which will cause template rendering to fail.
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
PR Type
Enhancement
Description
Replace node port configuration with LoadBalancer and externalIPs approach
Add support for internal nginx-ingress service deployment
Introduce node affinity selectors for load balancer pod placement
Remove lifecycle hooks and minReadySeconds from nginx deployments
Diagram Walkthrough
File Walkthrough
README.md
Update documentation for nginx configuration changesREADME.md
node_portsconfiguration parametersnginx.internal.enabledboolean parameterconfiguration
application-nginx-public.yaml
Refactor public nginx service for external IPs and internal supporttemplates/application-nginx-public.yaml
LoadBalancer
externalIPsconfiguration usingpublic_loadbalancer_ips.publicvalues
internalservice configuration block with ClusterIP typeand private IPs
use-as-public-lblabel selectorminReadySeconds(180s) andlifecycle.preStopsleep hooksapplication-nginx-glueops-oauth2.yaml
Refactor oauth2 nginx service for external IPs and internal supporttemplates/glueops-platform-ingress/application-nginx-glueops-oauth2.yaml
LoadBalancer
externalIPsconfiguration usingprivate_loadbalancer_ips.publicvalues
internalservice configuration block with ClusterIP typeand private IPs
use-as-lblabel selectorminReadySeconds(180s) andlifecycle.preStopsleep hooksvalues.yaml
Replace node ports config with internal service flagvalues.yaml
node_portsconfiguration section including enabled flagand port mappings
nginx.internal.enabledboolean parameter (default: false) forinternal service control
settings