6. Create a Load Balancer
Create a Load Balancer to expose your application to the web
Last updated
Was this helpful?
Create a Load Balancer to expose your application to the web
Last updated
Was this helpful?
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. Complete the following fields:
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. When the Load Balancer is complete, the Service displays a status of Running
and the Load Balancer displays a status of Ready
.
Navigate to Kubernetes -> Services and select the nginx
Service.
Click the Load Balancers tab. 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 the URL in the DNS Name card and paste into your browser. You should see the NGINX welcome page "Welcome to nginx!" or similar. It may take a few minutes for the application to start.