-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx pods running for Internal Ingress but unable to get the NGINX default website #12234
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
helm install ingress-nginx-internal ingress-nginx/ingress-nginx --namespace nginx-internal --set controller.replicaCount=2 --set controller.nodeSelector."kubernetes.io/os"=linux --set defaultBackend.nodeSelector."kubernetes.io/os"=linux --set controller.admissionWebhooks.patch.nodeSelector."kubernetes.io/os"=linux --set controller.service.internal.enabled=true --set controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-internal"="true" --set controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-internal-subnet"=" Used the above command to setup |
This is not a problem of the ingress-nginx controller. |
/remove-kind bug If you answer the questions asked in a new bug report template, and write a procesdure to reproduce the problem in a kind cluster, the readers here can try to reproduce the problem or analyze the data you have posted. |
@longwuyuan where whould i raise the above issue |
You have not provided the answers to the questions that are asked in the template of a new bug report so there is no data to analyze and make any comments. Your website could be done for several reasons and the none of ht einformation posted here shows it is caused by the ingress-nginx controller. |
@longwuyuan we have used the below command helm install ingress-nginx-internal ingress-nginx/ingress-nginx --namespace nginx-internal --set controller.replicaCount=2 --set controller.nodeSelector."kubernetes.io/os"=linux --set defaultBackend.nodeSelector."kubernetes.io/os"=linux --set controller.admissionWebhooks.patch.nodeSelector."kubernetes.io/os"=linux --set controller.service.internal.enabled=true --set controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-internal"="true" --set controller.service.annotations."service.beta.kubernetes.io/azure-load-balancer-internal-subnet"=" We got an internal IP with load balancer as below As per the access we should be able to access the IP to get the nginx page . But when we browse the Internal IP we are not able to get the pasge. Is there something MISSING IN the command .Also we tried browsing the pod IP .It works .But LB IP which should be the IP of the NGINX is not working |
Consider these facts ;
So either help the readers here and answer the questions asked in a new bug report template because there is hardly any resource to provide support here like you expect. Or talk in the kubernetes.slack.com in the ingress-nginx-users channel as there are many many more people there . Also, screenshots dont facilitate analysis. Copy/pasting the commands you used to debug the problem (and the output of those commands) potentially becomes data that readers can analyze and base comments on |
The pods are running ,but when i browse the IP of the NGINX the service IP ,we are not getting the NGINX default page.As a result site hosted behind this NGINX is not accessible
What you expected to happen:
The NGINX default pasge should be accessible right when we browse the Internal nginx service IP ,we tried accessing the page from a VM inside the same vnet
Not sure seems some configuration issue with the command
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Version : 1.10.5
Azure AKS
How was the ingress-nginx-controller installed:
If helm was used then please show output of
helm -n <ingresscontrollernamespace> get values <helmreleasename>
PS C:\Users\nidicula\OneDrive - RM PLC\PlatformandEngineering\Work\AKS\KubecostSetup> helm -n nginx-internal get values ingress-nginx-internal
USER-SUPPLIED VALUES:
controller:
admissionWebhooks:
patch:
nodeSelector:
kubernetes.io/os: linux
ingressClass: nginx-internal
ingressClassResource:
controllerValue: k8s.io/nginx-internal
name: nginx-internal
nodeSelector:
kubernetes.io/os: linux
replicaCount: 2
service:
annotations:
service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path: /readyz
service.beta.kubernetes.io/azure-load-balancer-internal: true
service.beta.kubernetes.io/azure-load-balancer-internal-subnet: net-asr-aks-ilb
internal:
enabled: true
defaultBackend:
nodeSelector:
kubernetes.io/os: linux
if you have more than one instance of the ingress-nginx-controller installed in the same cluster, please provide details for all the instances
The other external ingress controller is working fine
The text was updated successfully, but these errors were encountered: