Skip to content

#184_rancher_domain_pointing_workload

root edited this page Sep 3, 2019 · 1 revision

Spike Title: pointing domain to rancher workload

Paul Sarda 04/09/2019

Goals / Deliverables

  • How to get a domain to point to a workload on rancher

Technologies, Tools and Resources Used

Prerequisites:

  • Rancher setup

setup

  1. select your cluster then the project with the workload you wish to link the domain to.
  2. Click on the workloads tab and then on load balancing
  3. Click on the add ingress button at the top right
  4. Now to setup the rule
    • Name it
    • The namespace should match the target workload
    • You can get it to auto generate a domain this sometimes works but the better option is specify your own. Select the button and paste the full domain. On setting the domain you need to make sure it does not point to the the rancher UI address but the etcd control nodes address in this case the address of ConstNode1 (this took a long time to figure out).
    • specify the workload target: you can change the path if need be but select the dropdown and click on the target workload in this case the data cust selector and the target port note: Port 80 and 443 are already open on all the nodes I think.
    • then press save.
  5. Now you should see the new ingress rule it takes a while to start but be patient. .
Clone this wiki locally