You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/adding-tls-termination.adoc
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,12 @@ You can route the traffic for the domain to pods of a service and add TLS termin
21
21
apiVersion: networking.olm.openshift.io/v1
22
22
kind: AWSLoadBalancerController
23
23
metadata:
24
-
name: cluster <1>
24
+
name: cluster
25
25
spec:
26
-
subnetTagging: auto
27
-
ingressClass: tls-termination <2>
26
+
subnetTagging: Auto
27
+
ingressClass: tls-termination <1>
28
28
----
29
-
<1> Defines the `aws-load-balancer-controller` instance.
30
-
<2> Defines the name of an `ingressClass` resource reconciled by the AWS Load Balancer Controller. This `ingressClass` resource gets created if it is not present. You can add additional `ingressClass` values. The controller reconciles the `ingressClass` values if the `spec.controller` is set to `ingress.k8s.aws/alb`.
29
+
<1> Defines the name of an `ingressClass` resource reconciled by the AWS Load Balancer Controller. This `ingressClass` resource gets created if it is not present. You can add additional `ingressClass` values. The controller reconciles the `ingressClass` values if the `spec.controller` is set to `ingress.k8s.aws/alb`.
Copy file name to clipboardExpand all lines: modules/creating-multiple-ingress-through-single-alb.adoc
+57-25Lines changed: 57 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ You can route the traffic to multiple Ingresses through a single AWS Load Balanc
21
21
apiVersion: elbv2.k8s.aws/v1beta1 <1>
22
22
kind: IngressClassParams
23
23
metadata:
24
-
name: <single-lb-params> <2>
24
+
name: single-lb-params <2>
25
25
spec:
26
26
group:
27
27
name: single-lb <3>
@@ -37,24 +37,24 @@ spec:
37
37
$ oc create -f sample-single-lb-params.yaml
38
38
----
39
39
40
-
. Create an `IngressClass` resource YAML file, for example, `sample-single-lb.yaml`, as follows:
40
+
. Create an `IngressClass` resource YAML file, for example, `sample-single-lb-class.yaml`, as follows:
41
41
+
42
42
[source,yaml]
43
43
----
44
44
apiVersion: networking.k8s.io/v1 <1>
45
45
kind: IngressClass
46
46
metadata:
47
-
name: <single-lb> <2>
47
+
name: single-lb <2>
48
48
spec:
49
49
controller: ingress.k8s.aws/alb <3>
50
50
parameters:
51
51
apiGroup: elbv2.k8s.aws <4>
52
52
kind: IngressClassParams <5>
53
-
name: single-lb <6>
53
+
name: single-lb-params <6>
54
54
----
55
-
<1> Defines the API group and the version of the `IngressClass` resource.
55
+
<1> Defines the API group and version of the `IngressClass` resource.
56
56
<2> Specifies the name of the `IngressClass`.
57
-
<3> Defines the controller name, common for all `IngressClasses`. The `aws-load-balancer-controller` reconciles the controller.
57
+
<3> Defines the controller name. `ingress.k8s.aws/alb` denotes that all Ingresses of this class should be managed by the `aws-load-balancer-controller`.
58
58
<4> Defines the API group of the `IngressClassParams` resource.
59
59
<5> Defines the resource type of the `IngressClassParams` resource.
60
60
<6> Defines the name of the `IngressClassParams` resource.
@@ -63,77 +63,109 @@ spec:
63
63
+
64
64
[source,terminal]
65
65
----
66
+
$ oc create -f sample-single-lb-class.yaml
67
+
----
68
+
69
+
. Create an `AWSLoadBalancerController` resource YAML file, for example, `sample-single-lb.yaml`, as follows:
70
+
+
71
+
[source,yaml]
72
+
----
73
+
apiVersion: networking.olm.openshift.io/v1
74
+
kind: AWSLoadBalancerController
75
+
metadata:
76
+
name: cluster
77
+
spec:
78
+
subnetTagging: Auto
79
+
ingressClass: single-lb <1>
80
+
----
81
+
<1> Defines the name of the `IngressClass` resource.
82
+
83
+
. Create an `AWSLoadBalancerController` resource by running the following command:
84
+
+
85
+
[source,terminal]
86
+
----
66
87
$ oc create -f sample-single-lb.yaml
67
88
----
68
89
69
90
. Create an `Ingress` resource YAML file, for example, `sample-multiple-ingress.yaml`, as follows:
0 commit comments