Skip to content

Commit 54aa259

Browse files
authored
Merge pull request #48717 from xenolinux/understanding-ALB-Operator
Adds the understanding AWS Load Balancer Operator page
2 parents 7b98173 + 72ed9ab commit 54aa259

File tree

4 files changed

+90
-0
lines changed

4 files changed

+90
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,8 @@ Topics:
10471047
Dir: aws_load_balancer_operator
10481048
Distros: openshift-enterprise,openshift-origin
10491049
Topics:
1050+
- Name: Understanding the AWS Load Balancer Operator
1051+
File: understanding-aws-load-balancer-operator
10501052
- Name: Installing the AWS Load Balancer Operator
10511053
File: install-aws-load-balancer-operator
10521054
- Name: Creating an instance of the AWS Load Balancer Controller
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Module included in the following assemblies:
2+
// * networking/aws_load_balancer_operator/understanding-aws-load-balancer-operator.adoc
3+
4+
:_content-type: PROCEDURE
5+
[id="nw-aws-load-balancer-operator-logs_{context}"]
6+
= AWS Load Balancer Operator logs
7+
8+
Use the `oc logs` command to view the AWS Load Balancer Operator logs.
9+
10+
.Procedure
11+
12+
* View the logs of the AWS Load Balancer Operator:
13+
+
14+
[source,terminal]
15+
----
16+
$ oc logs -n aws-load-balancer-operator deployment/aws-load-balancer-operator-controller-manager -c manager
17+
----
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
// Module included in the following assemblies:
2+
// * networking/aws_load_balancer_operator/understanding-aws-load-balancer-operator.adoc
3+
4+
:_content-type: PROCEDURE
5+
[id="nw-aws-load-balancer-operator_{context}"]
6+
= AWS Load Balancer Operator
7+
8+
The AWS Load Balancer Operator can tag the public subnets if the `kubernetes.io/role/elb` tag is missing. Also, the AWS Load Balancer Operator detects the following from the underlying AWS cloud:
9+
10+
* The ID of the virtual private cloud (VPC) on which the cluster hosting the Operator is deployed in.
11+
12+
* Public and private subnets of the discovered VPC.
13+
14+
.Prerequisites
15+
16+
* You must have the AWS credentials secret. The credentials are used to provide subnet tagging and VPC discovery.
17+
18+
.Procedure
19+
20+
. You can deploy the AWS Load Balancer Operator on demand from the OperatorHub, by creating a `Subscription` object:
21+
+
22+
[source,terminal]
23+
----
24+
$ oc -n aws-load-balancer-operator get sub aws-load-balancer-operator --template='{{.status.installplan.name}}{{"\n"}}'
25+
----
26+
+
27+
.Example output
28+
[source,terminal]
29+
----
30+
install-zlfbt
31+
----
32+
33+
. Check the status of an install plan. The status of an install plan must be `Complete`:
34+
+
35+
[source,terminal]
36+
----
37+
$ oc -n aws-load-balancer-operator get ip <install_plan_name> --template='{{.status.phase}}{{"\n"}}'
38+
----
39+
+
40+
.Example output
41+
[source,terminal]
42+
----
43+
Complete
44+
----
45+
46+
. Use the `oc get` command to view the `Deployment` status:
47+
+
48+
[source,terminal]
49+
----
50+
$ oc get -n aws-load-balancer-operator deployment/aws-load-balancer-operator-controller-manager
51+
----
52+
+
53+
.Example output
54+
[source,terminal]
55+
----
56+
NAME READY UP-TO-DATE AVAILABLE AGE
57+
aws-load-balancer-operator-controller-manager 1/1 1 1 23h
58+
----
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:_content-type: ASSEMBLY
2+
[id="aws-load-balancer-operator"]
3+
= AWS Load Balancer Operator in {product-title}
4+
include::_attributes/common-attributes.adoc[]
5+
:context: aws-load-balancer-operator
6+
7+
toc::[]
8+
9+
The AWS Load Balancer (ALB) Operator deploys and manages an instance of the `aws-load-balancer-controller`. You can install the ALB Operator from the OperatorHub by using {product-title} web console or CLI.
10+
11+
include::modules/nw-aws-load-balancer-operator.adoc[leveloffset=+1]
12+
13+
include::modules/nw-aws-load-balancer-logs.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)