Illumina Innovates with Rancher and Kubernetes
You have a running cluster with at least 1 node.
You’re ready to create your first 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.
From the Clusters page, open the cluster that you just created.
From the main menu of the Dashboard, select Projects/Namespaces.
Open the Project: Default project.
Click Resources > Workloads. In versions prior to v2.3.0, click Workloads > Workloads.
Step Result: The Deploy Workload page opens.
Enter a Name for your workload.
From the Docker Image field, enter rancher/hello-world. This field is case-sensitive.
Leave the remaining options on their default setting. We’ll tell you about them later.
Now that the application is up and running it needs to be exposed so that other services can connect.
From the main menu of the Dashboard, select Projects.
Open the Default project.
Click Resources > Workloads > Load Balancing. In versions prior to v2.3.0, click the Workloads tab. 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: