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
Load Balancers created by the AWS Load Balancer Operator cannot be used for xref:../networking/routes/route-configuration.adoc#route-configuration[OpenShift Routes], and should only be used for individual services or ingress resources that do not need the full layer 7 capabilities of an OpenShift Route.
27
26
====
28
-
endif::openshift-rosa-hcp[]
29
-
ifdef::openshift-rosa-hcp[]
30
-
[TIP]
31
-
====
32
-
Load Balancers created by the AWS Load Balancer Operator cannot be used for link:https://docs.openshift.com/rosa/networking/routes/route-configuration.html[OpenShift Routes], and should only be used for individual services or ingress resources that do not need the full layer 7 capabilities of an OpenShift Route.
33
-
====
34
-
endif::openshift-rosa-hcp[]
35
27
36
28
The link:https://kubernetes-sigs.github.io/aws-load-balancer-controller/[AWS Load Balancer Controller] manages AWS Elastic Load Balancers for a {product-title} (ROSA) cluster. The controller provisions link:https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html[AWS Application Load Balancers (ALB)] when you create Kubernetes Ingress resources and link:https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html[AWS Network Load Balancers (NLB)] when implementing Kubernetes Service resources with a type of LoadBalancer.
37
29
@@ -54,11 +46,12 @@ AWS ALBs require a multi-AZ cluster, as well as three public subnets split acros
54
46
55
47
ifndef::openshift-rosa-hcp[]
56
48
* xref:../rosa_install_access_delete_clusters/rosa-sts-creating-a-cluster-quickly.adoc#rosa-sts-creating-a-cluster-quickly[A multi-AZ ROSA classic cluster]
49
+
* BYO VPC cluster
50
+
//Moved inside ifndef since this is always true for HCP clusters
57
51
endif::openshift-rosa-hcp[]
58
52
ifdef::openshift-rosa-hcp[]
59
-
* link:https://docs.openshift.com/rosa-hcp/rosa_hcp/rosa-hcp-sts-creating-a-cluster-quickly.html[A multi-AZ ROSA cluster]
//subnets are tagged already after rosa create network
126
120
127
121
[id="installation_{context}"]
128
122
== Installation
@@ -355,6 +349,8 @@ $ curl "http://${INGRESS}"
355
349
----
356
350
Hello OpenShift!
357
351
----
352
+
//TODO OSDOCS-11830: Couldn't get either of these validation checks to work, Andy R indicated that the related error seems to be that user is not authorized to do operation elasticloadbalancing:AddTags because "no identity based policy allows elasticloadbalancing:AddTags" however the linked policy does seem to allow that as far as I can tell: https://raw.githubusercontent.com/rh-mobb/documentation/main/content/rosa/aws-load-balancer-operator/load-balancer-operator-policy.json
353
+
// That said, I'm not sure we should be getting our example policy from the rh-mobb repo
358
354
359
355
. Deploy an AWS NLB for your hello world application:
After setting up your environment with your cluster, you can install the AWS Load Balancer Operator using the CLI.
7
+
You can install the AWS Load Balancer Operator using the OpenShift CLI (`oc`). Use the same terminal session you used in _Setting up your environment to install the AWS Load Balancer Operator_ to make use of the environment variables.
8
8
9
9
.Procedure
10
10
. Create a new project within your cluster for the AWS Load Balancer Operator:
@@ -14,29 +14,24 @@ After setting up your environment with your cluster, you can install the AWS Loa
14
14
$ oc new-project aws-load-balancer-operator
15
15
----
16
16
17
-
. Create an AWS IAM policy for the AWS Load Balancer Controller:
17
+
// TODO OSDOCS-11830 This policy looks like we can add tags but the deployment still complains of having no identity based policy that allows it - found the upstream 2.12.0 version of this IAM Policy and it does contain a number of extra things including ModifyIppools and some wildly different conditions on AddTags
18
+
. Create an AWS IAM policy for the AWS Load Balancer Controller.
19
+
.. Download the appropriate IAM policy:
18
20
+
19
-
[NOTE]
20
-
====
21
-
You can find the AWS IAM policy from link:https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.4/docs/install/iam_policy.json[the upstream AWS Load Balancer Controller policy]. This policy includes all of the permissions you needed by the Operator to function.
0 commit comments