# Ability to allow inbound connection to AWX receptor mesh on Kubernetes

**URL:** <https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215>\
**Category:** Project Discussions\
**Tags:** dev, receptor, project, awx, kubernetes\
**Created:** [August 30, 2023, 5:18pm UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215 "2023-08-30T17:18:31Z")\
**Posts on this page:** 8\
**Page:** 3

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [November 16, 2023, 6:33pm UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/41 "2023-11-16T18:33:13Z")

</div>

@kurokobo @tanganellilore we got a good bits of the work done in  
feature\_awx-mesh-ingress branch on awx and awx-operator

right now if you try to use it it should work

for the awx-operator change we mostly focused on OCP with Route as the ingress

If anyone is interested would u like to contribute the bits needed to get this to work well on non OCP K8S?

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [November 17, 2023, 4:38am UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/42 "2023-11-17T04:38:38Z")

</div>

Thank you for informing me, I’ll give it a little try in a few days.

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [November 21, 2023, 1:17pm UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/43 "2023-11-21T13:17:58Z")

</div>

[https://github.com/ansible/awx-operator/issues/1645](https://github.com/ansible/awx-operator/issues/1645)  
[https://github.com/ansible/awx/issues/14678](https://github.com/ansible/awx/issues/14678)  
[https://github.com/ansible/awx/issues/14679](https://github.com/ansible/awx/issues/14679)

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [November 21, 2023, 2:46pm UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/44 "2023-11-21T14:46:57Z")

</div>

@TheRealHaoLiu @fosterseth  
Is it feasible for AWX Operator to support deployment of IngressRouteTCP for Traefik in addition to Route and Ingress?  
I can send PR for this, but It would also be possible to deploy AWXMeshIngress CR with `ingress_type: none` and have users create their own IngressRouteTCP (In this case AWX Operator does not support IngressRouteTCP).

Traefik (default ingress controller for k3s) requires [a TCP Router for TLS passthrough](https://doc.traefik.io/traefik/routing/routers/#passthrough), which consists of a CR called IngressRouteTCP rather than the usual Ingress resource.

Technically, I already have an implementation in my environment that allows jobs to run on Executon Node via Internal Hop Node using IngressRouteTCP.

Draft PR: [wip: add ingress and ingressroutetcp for awxmeshingress by kurokobo · Pull Request #1646 · ansible/awx-operator · GitHub](https://github.com/ansible/awx-operator/pull/1646)

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [February 13, 2024, 10:15pm UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/45 "2024-02-13T22:15:33Z")

</div>

[![](https://us1.discourse-cdn.com/ansible/original/2X/1/1249f8a998babbb23503b368b3c66a02094cc529.jpeg "AWX Community Meeting 2024-02-13") ](https://www.youtube.com/watch?v=_S4BIWCgDfg&t=64s)

Thanks everyone! the feature landed in AWX now!

check it out!

AWX: 23.8.0  
AWX-Operator: 2.12.0

---

<div class="post-metadata">

**Author:** ![yoonmin1030](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/yoonmin1030/32/2742_2.png) [@yoonmin1030](https://forum.ansible.com/u/yoonmin1030)\
**Post date:** [April 15, 2024, 10:18am UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/46 "2024-04-15T10:18:34Z")

</div>

The remote EE node from outside of k8s cluster, how to reach the hop node in the k8s cluster with port 443 ? does the loadbalancer in k8s cluster tell ?  
I have installed bundle to remote EE node, but running health check tells the remote EE node is not in the receptor mesh.

what i understand is

1. in the k8s cluster, awxmeshingress takes pods to service.
2. outside of k8s cluster, ingress (ingress-nginx) takes the remote EE node to service.

please take a look what I am missing.

# this is my service for awxmeshingress

apiVersion: v1  
kind: Service  
metadata:  
annotations:  
[kubectl.kubernetes.io/last-applied-configuration:](http://kubectl.kubernetes.io/last-applied-configuration:) ‘{“apiVersion”:“v1”,“kind”:“Service”,“metadata”:{“name”:“mesh-ingress-1”,“namespace”:“awx”},“spec”:{“ports”:[{“name”:“ws”,“port”:27199,“targetPort”:27199}],“selector”:{“[app.kubernetes.io/name":“mesh-ingress-1”},“type”:"ClusterIP](http://app.kubernetes.io/name%22:%22mesh-ingress-1%22%7D,%22type%22:%22ClusterIP)”}}’  
creationTimestamp: “2024-04-12T07:43:01Z”  
name: mesh-ingress-1  
namespace: awx  
ownerReferences:

- apiVersion: [awx.ansible.com/v1alpha1](http://awx.ansible.com/v1alpha1)  
kind: AWXMeshIngress  
name: mesh-ingress-1  
uid: xxx  
resourceVersion: “21687088”  
uid: xxx  
spec:  
clusterIP: 10.x.x.x  
clusterIPs:
- 10.x.x.x  
internalTrafficPolicy: Cluster  
ipFamilies:
- IPv4  
ipFamilyPolicy: SingleStack  
ports:
- name: ws  
port: 27199  
protocol: TCP  
targetPort: 27199  
selector:  
[app.kubernetes.io/name:](http://app.kubernetes.io/name:) mesh-ingress-1  
sessionAffinity: None  
type: ClusterIP  
status:  
loadBalancer: {}

# =============================================== following is service for ingress-nginx-controller

apiVersion: v1  
kind: Service  
metadata:  
annotations:  
[kubectl.kubernetes.io/last-applied-configuration:](http://kubectl.kubernetes.io/last-applied-configuration:) |  
{“apiVersion”:“v1”,“kind”:“Service”,“metadata”:{“annotations”:{},“labels”:{“[app.kubernetes.io/component":“controller”,“app.kubernetes.io/instance”:“ingress-nginx”,“app.kubernetes.io/name”:“ingress-nginx”,“app.kubernetes.io/part-of”:“ingress-nginx”,“app.kubernetes.io/version”:“1.10.0”},“name”:“ingress-nginx-controller”,“namespace”:“ingress-nginx”},“spec”:{“externalTrafficPolicy”:“Local”,“ipFamilies”:[“IPv4”],“ipFamilyPolicy”:“SingleStack”,“ports”:[{“appProtocol”:“http”,“name”:“http”,“port”:80,“protocol”:“TCP”,“targetPort”:“http”},{“appProtocol”:“https”,“name”:“https”,“port”:443,“protocol”:“TCP”,“targetPort”:“https”}],“selector”:{“app.kubernetes.io/component”:“controller”,“app.kubernetes.io/instance”:“ingress-nginx”,“app.kubernetes.io/name”:“ingress-nginx”},“type”:"LoadBalancer](http://app.kubernetes.io/component%22:%22controller%22,%22app.kubernetes.io/instance%22:%22ingress-nginx%22,%22app.kubernetes.io/name%22:%22ingress-nginx%22,%22app.kubernetes.io/part-of%22:%22ingress-nginx%22,%22app.kubernetes.io/version%22:%221.10.0%22%7D,%22name%22:%22ingress-nginx-controller%22,%22namespace%22:%22ingress-nginx%22%7D,%22spec%22:%7B%22externalTrafficPolicy%22:%22Local%22,%22ipFamilies%22:%5B%22IPv4%22%5D,%22ipFamilyPolicy%22:%22SingleStack%22,%22ports%22:%5B%7B%22appProtocol%22:%22http%22,%22name%22:%22http%22,%22port%22:80,%22protocol%22:%22TCP%22,%22targetPort%22:%22http%22%7D,%7B%22appProtocol%22:%22https%22,%22name%22:%22https%22,%22port%22:443,%22protocol%22:%22TCP%22,%22targetPort%22:%22https%22%7D%5D,%22selector%22:%7B%22app.kubernetes.io/component%22:%22controller%22,%22app.kubernetes.io/instance%22:%22ingress-nginx%22,%22app.kubernetes.io/name%22:%22ingress-nginx%22%7D,%22type%22:%22LoadBalancer)”}}  
creationTimestamp: “2024-04-03T09:20:23Z”  
labels:  
[app.kubernetes.io/component:](http://app.kubernetes.io/component:) controller  
[app.kubernetes.io/instance:](http://app.kubernetes.io/instance:) ingress-nginx  
[app.kubernetes.io/name:](http://app.kubernetes.io/name:) ingress-nginx  
[app.kubernetes.io/part-of:](http://app.kubernetes.io/part-of:) ingress-nginx  
[app.kubernetes.io/version:](http://app.kubernetes.io/version:) 1.10.0  
name: ingress-nginx-controller  
namespace: ingress-nginx  
resourceVersion: “18611647”  
uid: xxx  
spec:  
allocateLoadBalancerNodePorts: true  
clusterIP: 10.x.x.x  
clusterIPs:

- 10.x.x.x  
externalTrafficPolicy: Local  
healthCheckNodePort: 31209  
internalTrafficPolicy: Cluster  
ipFamilies:
- IPv4  
ipFamilyPolicy: SingleStack  
ports:
- appProtocol: http  
name: http  
nodePort: 31789  
port: 80  
protocol: TCP  
targetPort: http
- appProtocol: https  
name: https  
nodePort: 32148  
port: 443  
protocol: TCP  
targetPort: https  
selector:  
[app.kubernetes.io/component:](http://app.kubernetes.io/component:) controller  
[app.kubernetes.io/instance:](http://app.kubernetes.io/instance:) ingress-nginx  
[app.kubernetes.io/name:](http://app.kubernetes.io/name:) ingress-nginx  
sessionAffinity: None  
type: LoadBalancer  
status:  
loadBalancer: {}

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [April 15, 2024, 11:36am UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/47 "2024-04-15T11:36:55Z")

</div>

@yoonmin1030  
Hi, could you please create a new topic on [Get Help](http://forum.ansible.com/c/help/6/none) category?

---

<div class="post-metadata">

**Author:** ![yoonmin1030](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/yoonmin1030/32/2742_2.png) [@yoonmin1030](https://forum.ansible.com/u/yoonmin1030)\
**Post date:** [April 15, 2024, 1:51pm UTC](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215/48 "2024-04-15T13:51:15Z")

</div>

I made it as a topic.

> [@Question about adding remote EE node to AWX k8s cluster](http://forum.ansible.com/t/question-about-adding-remote-ee-node-to-awx-k8s-cluster/4951):
>
> The remote EE node from outside of k8s cluster, how to reach the hop node in the k8s cluster with port 443 ? does the loadbalancer in k8s cluster tell ? I have installed bundle to remote EE node, but running health check tells the remote EE node is not in the receptor mesh. what i understand is in the k8s cluster, awxmeshingress takes pods to service. outside of k8s cluster, ingress (ingress-nginx) takes the remote EE node to service. please take a look what I am missing. this is my servic…

please help me to get more understanding of the topic “awxmeshingress and receptor”

[Previous page](https://forum.ansible.com/t/ability-to-allow-inbound-connection-to-awx-receptor-mesh-on-kubernetes/215.md?page=2)
