File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 39
39
name: sharded
40
40
namespace: openshift-ingress-operator
41
41
spec:
42
- domain: <apps-sharded.basedomain.example.net>
42
+ domain: <apps-sharded.basedomain.example.net> <1>
43
43
nodePlacement:
44
44
nodeSelector:
45
45
matchLabels:
@@ -53,6 +53,7 @@ metadata:
53
53
resourceVersion: ""
54
54
selfLink: ""
55
55
----
56
+ <1> Specify a domain to be used by the Ingress Controller. This domain must be different from the default Ingress Controller domain.
56
57
57
58
. Apply the Ingress Controller `router-internal.yaml` file:
58
59
+
@@ -63,3 +64,10 @@ metadata:
63
64
+
64
65
The Ingress Controller selects routes in any namespace that is selected by the
65
66
namespace selector that have the label `type: sharded` .
67
+
68
+ . Create a new route using the domain configured in the `router-internal.yaml` :
69
+ +
70
+ [source,terminal]
71
+ ----
72
+ $ oc expose svc <service-name > -- hostname <route-name >.apps-sharded.basedomain.example.net
73
+ ----
Original file line number Diff line number Diff line change 34
34
name: sharded
35
35
namespace: openshift-ingress-operator
36
36
spec:
37
- domain: <apps-sharded .basedomain.example.net >
37
+ domain: <apps-sharded .basedomain.example.net > <1>
38
38
nodePlacement:
39
39
nodeSelector:
40
40
matchLabels:
@@ -48,6 +48,7 @@ metadata:
48
48
resourceVersion: ""
49
49
selfLink: ""
50
50
----
51
+ <1> Specify a domain to be used by the Ingress Controller. This domain must be different from the default Ingress Controller domain.
51
52
52
53
. Apply the Ingress Controller `router-internal.yaml` file:
53
54
+
@@ -58,3 +59,10 @@ metadata:
58
59
+
59
60
The Ingress Controller selects routes in any namespace that have the label
60
61
`type: sharded` .
62
+
63
+ . Create a new route using the domain configured in the `router-internal.yaml` :
64
+ +
65
+ [source,terminal]
66
+ ----
67
+ $ oc expose svc <service-name > -- hostname <route-name >.apps-sharded.basedomain.example.net
68
+ ----
You can’t perform that action at this time.
0 commit comments