Receptor Port 27199 : Not able to add an extra custom port to awx-task deployment.
Hello Community,
We are using fluxcd to customize the values and deploy AWX using fuxcd. I am aware that the awx-task runs on 27199 TCP port but We want to add extra port to this pod. When I try adding this port in awx-task deployment it works without any issues. But when I am trying to modify my release.yaml It is not getting reflected at all , Tried many methods ( like injecting the value through awx-receptor-config
and in deployment : awx-task
) But nothing seems to be working. Can you please check why it is not working and Am I updating the correct resource ?
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: awx
namespace: flux-system
spec:
postRenderers:
- kustomize:
patches:
- target:
kind: Deployment
name: awx-operator-controller-manager
patch: |
apiVersion: apps/v1
kind: Deployment
metadata:
name: awx-operator-controller-manager
spec:
template:
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: workload
operator: In
values:
- awx
tolerations:
- effect: NoSchedule
key: workload
value: awx
containers:
- name: kube-rbac-proxy
image: uXXX
- name: awx-manager
image: us-XXXX
- target:
kind: Deployment
name: awx-task
patch: |
apiVersion: apps/v1
kind: Deployment
metadata:
name: awx-task
spec:
template:
spec:
containers:
- name: awx-task
ports:
- name: receptor-control
containerPort: 27199
protocol: TCP
- name: receptor-data
containerPort: 27200
protocol: TCP
- name: custom-port
containerPort: 12345
protocol: TCP
@kurokobo @TheRealHaoLiu , Please help here and thanks in advance. The below section I am trying to achieve
ports:
- name: receptor-control
containerPort: 27199
protocol: TCP
- name: receptor-data
containerPort: 27200
protocol: TCP
- name: custom-port
containerPort: 12345
protocol: TCP