$ oc -n aws-load-balancer-operator get sub aws-load-balancer-operator --template='{{.status.installplan.name}}{{"\n"}}'
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 OKD web console or CLI.
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:
The ID of the virtual private cloud (VPC) on which the cluster hosting the Operator is deployed in.
Public and private subnets of the discovered VPC.
You must have the AWS credentials secret. The credentials are used to provide subnet tagging and VPC discovery.
You can deploy the AWS Load Balancer Operator on demand from the OperatorHub, by creating a Subscription
object:
$ oc -n aws-load-balancer-operator get sub aws-load-balancer-operator --template='{{.status.installplan.name}}{{"\n"}}'
install-zlfbt
Check the status of an install plan. The status of an install plan must be Complete
:
$ oc -n aws-load-balancer-operator get ip <install_plan_name> --template='{{.status.phase}}{{"\n"}}'
Complete
Use the oc get
command to view the Deployment
status:
$ oc get -n aws-load-balancer-operator deployment/aws-load-balancer-operator-controller-manager
NAME READY UP-TO-DATE AVAILABLE AGE
aws-load-balancer-operator-controller-manager 1/1 1 1 23h