Skip to content
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

Change gateway_ingress.yaml to support Amazon Load Balancer (ALB) controller #300

Open
Sunny-0929 opened this issue Apr 5, 2023 · 1 comment

Comments

@Sunny-0929
Copy link

Currently, ReportPortal seems does not support ALB controller. During our kubernetes deployment on AWS with ALB, we have modified gateway_ingress.yaml to add “ingressClassName” and “ingress hostname”. Then we are able to build dependencies and install ReportPortal.

We are looking at installing ReportPortal in kubernetes with the official helm chart. But the current helm chart gateway_ingress template does not support ALB. Can you please consider modifying gateway_ingress.yaml to add “ingressClassName” and “ingress hostname” in near future release? Thanks.

The two modified/added fields are in bold italic below:

gateway_ingress.yaml file:

spec:
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
{{- end}}
ingressClassName: {{ $.Values.ingress.ingressClassName }}
rules:

status:
loadBalancer:
ingress:
- hostname: {{ $.Values.ingress.cname }}

{{- end }}

values.yaml file:

ingress:
subdomains:
- reportportal
enabled: true
enable: true
usedomainname: true
annotations:
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/ssl-redirect: '443'
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS": 443}, {"HTTP": 80}]'
alb.ingress.kubernetes.io/group.name: reportportal-alb
alb.ingress.kubernetes.io/load-balancer-attributes: idle_timeout.timeout_seconds=1800
ingressClassName: alb
hosts:
- <OUR_RP_HOST_NAME>
cname: <OUR_ALB_CNAME>
tls: []

@Sunny-0929
Copy link
Author

Requesting support for Amazon Load Balancer (ALB) Controller #274

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

No branches or pull requests

1 participant