samir parhi:
Hello Team,
I am configuring the AKS cluster. after the configuration, I am getting ” BAD GATWAY ” in NGINX ingress controller.
My Deployment YML is :
#Deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-app
spec:
replicas: 1
selector:
matchLabels:
app: test-app
template:
metadata:
labels:
app: test-app
spec:
containers:
- name: test-app
image: http://test.azurecr.io/testrepo/image_test:k8_deploy
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
imagePullSecrets:
- name: acr-secret
#serviceconfig
apiVersion: v1
kind: Service
metadata:
name: test-app
spec:
type: ClusterIP
ports:
- port: 80
selector:
app: test-app