Continental Innovates with Rancher and Kubernetes
You have a running cluster with at least 1 node.
You’re ready to create your first Kubernetes workload. A workload is an object that includes pods along with other files and info needed to deploy your application.
For this workload, you’ll be deploying the application Rancher Hello-World.
Now that the application is up and running it needs to be exposed so that other services can connect.
Go to the cluster that you created and click Explore.
From the main menu of the Dashboard, select Projects.
Open the Default project.
Click Resources > Workloads > Load Balancing. Click on the Load Balancing tab.
Click Add Ingress.
Enter a name i.e. hello.
In the Target field, drop down the list and choose the name that you set for your service.
Enter 80 in the Port field.
Leave everything else as default and click Save.
Result: The application is assigned a xip.io address and exposed. It may take a minute or two to populate.
From the Load Balancing page, click the target link, which will look something like hello.default.xxx.xxx.xxx.xxx.xip.io > hello-world.
hello.default.xxx.xxx.xxx.xxx.xip.io > hello-world
Your application will open in a separate window.
Congratulations! You have successfully deployed a workload exposed via an ingress.
When you’re done using your sandbox, destroy the Rancher Server and your cluster. See one of the following: