Clear Filters
Clear Filters

How do I configure an application load balancer for MATLAB Production Server Helm deployment?

4 views (last 30 days)
I am trying to deploy MATLAB Production Server on Kubernetes using the helm template provided by MathWorks. However, I noticed that the ingress being used is nginx, how can I set up the ingress for an already established alb (application load balancer) on AWS?

Answers (1)

Anagha Mittal
Anagha Mittal on 20 Sep 2023
Hi Marc!
Please follow the below mentioned steps to set up the ingress for an already established ALB (application load balancer) on AWS:
1. Ensure that the ALB Ingress Controller is installed and configured in your Kubernetes cluster. Please refer to the following AWS documentation to set up the ALB ingress controller in your EKS cluster:
2. Before installing the MATLAB Production Server Helm chart, you will need to customize the values used in the Helm chart to configure the ingress to use your ALB. This can be done by creating a custom values file in which you may override the ingress configuration as follows:
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
# Add other necessary ALB annotations
hosts:
- host: <your-domain.com>
paths:
- /
# Other ingress configurations if needed
3. Use the "helm install" command with the "-f" flag to include your custom values file
4. To use the existing ALB, you can potentially set it up as a static IP and refer to it in your ingress configuration using the "alb.ingress.kubernetes.io/load-balancer-attributes" annotation with the appropriate attributes to refer to the existing ALB.
5. After setting up, verify that your MATLAB Production Server is accessible through the ALB using the following command:
kubectl get ingress
Hope this helps!

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!