{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/795","repository_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller","labels_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/795/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/795/events","html_url":"https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/795","id":395182383,"node_id":"MDU6SXNzdWUzOTUxODIzODM=","number":795,"title":"Ingress > nginx resolver address?","user":{"login":"khteh","id":3871483,"node_id":"MDQ6VXNlcjM4NzE0ODM=","avatar_url":"https://avatars3.githubusercontent.com/u/3871483?v=4","gravatar_id":"","url":"https://api.github.com/users/khteh","html_url":"https://github.com/khteh","followers_url":"https://api.github.com/users/khteh/followers","following_url":"https://api.github.com/users/khteh/following{/other_user}","gists_url":"https://api.github.com/users/khteh/gists{/gist_id}","starred_url":"https://api.github.com/users/khteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khteh/subscriptions","organizations_url":"https://api.github.com/users/khteh/orgs","repos_url":"https://api.github.com/users/khteh/repos","events_url":"https://api.github.com/users/khteh/events{/privacy}","received_events_url":"https://api.github.com/users/khteh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-02T08:57:07Z","updated_at":"2019-01-02T17:56:28Z","closed_at":null,"author_association":"NONE","body":"Not sure if it is the right place for this question. I am using NodePort service and nginx deployement to accept / from the ingress resource. And then I have the following nginx configuration to avoid using outdated IP address once the upstream services' IP address change:\r\n```\r\n    listen 80;\r\n    access_log /var/log/nginx/app.access_log main;\r\n    error_log /var/log/nginx/app.error_log;\r\n    resolver 127.0.0.1 [::1]:5353 valid=10s;\r\n    set $upstream http://svc-web;\r\n    location / {\r\n          proxy_pass $upstream;\r\n          proxy_http_version 1.1;\r\n     }\r\n    }\r\n```\r\nWhich IP address should be used in this case? Thanks. Reference: https://github.com/ubuntu/microk8s/issues/224"},"comment":{"url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/comments/450934350","html_url":"https://github.com/kubernetes-sigs/aws-alb-ingress-controller/issues/795#issuecomment-450934350","issue_url":"https://api.github.com/repos/kubernetes-sigs/aws-alb-ingress-controller/issues/795","id":450934350,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDkzNDM1MA==","user":{"login":"M00nF1sh","id":40677631,"node_id":"MDQ6VXNlcjQwNjc3NjMx","avatar_url":"https://avatars0.githubusercontent.com/u/40677631?v=4","gravatar_id":"","url":"https://api.github.com/users/M00nF1sh","html_url":"https://github.com/M00nF1sh","followers_url":"https://api.github.com/users/M00nF1sh/followers","following_url":"https://api.github.com/users/M00nF1sh/following{/other_user}","gists_url":"https://api.github.com/users/M00nF1sh/gists{/gist_id}","starred_url":"https://api.github.com/users/M00nF1sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M00nF1sh/subscriptions","organizations_url":"https://api.github.com/users/M00nF1sh/orgs","repos_url":"https://api.github.com/users/M00nF1sh/repos","events_url":"https://api.github.com/users/M00nF1sh/events{/privacy}","received_events_url":"https://api.github.com/users/M00nF1sh/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T17:56:28Z","updated_at":"2019-01-02T17:56:28Z","author_association":"COLLABORATOR","body":"Hi, are you trying to using an nginx to accept traffic and proxy it to backend service running in k8s?\r\nIf so, i'd suggest to use [nginx ingress controller](https://kubernetes.github.io/ingress-nginx/), which manages the nginx configuration and deal with service ip changes for you automatically.\r\n\r\nIf your k8s stack running in aws, i'd suggest to use our project(alb ingress controller), which use AWS Application LoadBalancer(L7 loadbalancer) to accept traffic and proxy to backend services in k8s"}}
{"actor":{"display_login":"M00nF1sh"}}