These docs are for Rancher 1.6, if you are looking for Rancher 2.x docs, see
here.
portRule
Resource Fields
Writeable Fields
Field |
Type |
Create |
Update |
Default |
Notes |
backendName |
string |
Optional |
- |
- |
|
hostname |
string |
Optional |
- |
- |
|
path |
string |
Optional |
- |
- |
|
priority |
int |
Optional |
- |
- |
|
protocol |
enum |
Optional |
- |
http |
The options are http , tcp , https , tls , sni , udp . |
selector |
string |
Optional |
- |
- |
|
serviceId |
service |
Optional |
- |
- |
The unique identifier of the associated service |
sourcePort |
int |
Yes |
- |
- |
|
targetPort |
int |
Optional |
- |
- |
|