ALB without SSL on Aws

45 views
Skip to first unread message

Z M

unread,
Jul 11, 2022, 9:30:06 AM7/11/22
to AWX Project
I'm trying to install the AWX operator on Aws/EKS with the ALB.
What I'm encountering is a Bad Gateway whenever i go the the ALB Url.
Below is the ingress  that I'm using.


---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx
spec:
  admin_user: admin
  admin_password_secret: awx-admin-password

  ingress_type: ingress
  ingress_path: "/"
  ingress_path_type: Prefix
  ingress_annotations: |
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}]'
    alb.ingress.kubernetes.io/scheme: internet-facing
    alb.ingress.kubernetes.io/target-type: instance
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/load-balancer-attributes: "idle_timeout.timeout_seconds=360"

  postgres_configuration_secret: awx-postgres-configuration


Zachary Manning

unread,
Jul 11, 2022, 9:38:08 AM7/11/22
to awx-p...@googlegroups.com
Additionally, all pods and services appear to be running correctly. 

On Jul 11, 2022, at 9:30 AM, Z M <zachary...@gmail.com> wrote:


--
You received this message because you are subscribed to a topic in the Google Groups "AWX Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/awx-project/LbjQVDG1DUw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to awx-project...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/831d0730-8971-47df-bdf0-e33cb4bfc436n%40googlegroups.com.

AWX Project

unread,
Jul 13, 2022, 3:41:49 PM7/13/22
to AWX Project
I expected to see loadbalancer details in your spec.yml file, see the loadbalancer notes under https://github.com/ansible/awx-operator#network-and-tls-configuration

Does your full spec have the loadbalancer configuration set?

AWX Team

Z M

unread,
Jul 13, 2022, 3:45:37 PM7/13/22
to awx-p...@googlegroups.com
I managed to get it working by switching IP to instance. It took some tinkering but it finally worked.
Working now on setting things up with SSL.


Reply all
Reply to author
Forward
0 new messages