mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-15 19:05:41 +00:00
@@ -19,7 +19,7 @@ For this workload, you'll be deploying the application Rancher Hello-World.
|
||||
1. Click **Deployment**.
|
||||
1. Enter a **Name** for your workload.
|
||||
1. From the **Container Image** field, enter `rancher/hello-world`. This field is case-sensitive.
|
||||
1. Click **Add Port** and enter `80` in the **Private Container Port** field. Adding a port enables access to the application inside and outside of the cluster. For more information, see [Services](../../../pages-for-subheaders/workloads-and-pods.md#services).
|
||||
1. Click **Add Port** and `Cluster IP` for the `Service Type` and enter `80` in the **Private Container Port** field. You may leave the `Name` blank or specify any name that you wish. Adding a port enables access to the application inside and outside of the cluster. For more information, see [Services](../../../pages-for-subheaders/workloads-and-pods.md#services).
|
||||
1. Click **Create**.
|
||||
|
||||
**Result:**
|
||||
|
||||
@@ -15,9 +15,9 @@ Because of this change to the controller, the default behavior no longer sets `h
|
||||
|
||||
If you use this option, Ingress routes requests for a hostname to the service or workload that you specify.
|
||||
|
||||
1. Enter the **Request Host** that your Ingress controller will handle request forwarding for. For example, `www.mysite.com`.
|
||||
1. Specify a path of type `Prefix` and a specify a path such as `/`.
|
||||
1. Add a **Target Service**.
|
||||
1. **Optional:** If you want to specify a workload or service when a request is sent to a particular hostname path, add a **Path** for the target. For example, if you want requests for `www.mysite.com/contact-us` to be sent to a different service than `www.mysite.com`, enter `/contact-us` in the **Path**. The first rule that you create does not typically include a path.
|
||||
1. **Optional:** If you want specify a workload or service when a request is sent to a particular hostname path, add a **Path** for the target. For example, if you want requests for `www.mysite.com/contact-us` to be sent to a different service than `www.mysite.com`, enter `/contact-us` in the **Path** field. Typically, the first rule that you create does not include a path.
|
||||
1. Enter the **Port** number that each target operates on.
|
||||
|
||||
## Certificates
|
||||
|
||||
Reference in New Issue
Block a user