6. Create a Load Balancer
Create a Load Balancer to expose your application to the web
Last updated
Create a Load Balancer to expose your application to the web
Last updated
© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates
Navigate to Kubernetes -> Services and select the nginx
Service from the list.
Click Load Balancers -> Configure Load Balancer. The Add Load Balancer Listener pane displays.
Type: Application LB
Container port: 80
External port: 443
Visibility: Public
Application mode: Docker Mode
Health check: /
Backend protocol: HTTP
Certificates: WILDCARD.test04-apps.duplocloud.net
Click Add and wait until the Service is Running
and the Load Balancer displays a status of Ready
.
Navigate to Kubernetes -> Services and select the nginx
Service.
Click Load Balancers. On the Other Settings card, click Edit. Enable the HTTP to HTTPS redirect option.
You can find the created DNS Name displayed on this page, CNAME'd to your Load Balancer name. Copy and paste the URL in the DNS Name card into your browser address to verify your application is available with a Status of Running
. It may take a few minutes for the application to start.