Skip to content
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-ingress-controller问题 #3

Closed
pengyan2018 opened this issue Dec 3, 2017 · 4 comments
Closed

关于nginx-ingress-controller问题 #3

pengyan2018 opened this issue Dec 3, 2017 · 4 comments

Comments

@pengyan2018
Copy link

gjmzj 你好,很高兴看到国内有人在做K8S的自动化部署,而且做到如此棒的地步!
现在有个问题,想咨询一下:在你的这种部署方式下,跑nginx-ingress-controller是否有问题?
我目前的情况是:我是用kubeadm部署的K8S集群,pod、svc这些都能正常运行。但是部署nginx-ingress-controller(https://github.com/kubernetes/ingress-nginx)时,该pod总是CrashLoopBackOff。查看日志发现是api server连不上。进一步用https://github.com/kubernetes/ingressnginx/blob/master/docs/troubleshooting.md中方法来验证:kubectl exec test-701078429-s5kca -- curl --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H "Authorization: Bearer $TOKEN_VALUE" https://10.96.0.1 总是提示Failed to connect to 10.96.0.1 port 443: Connection timed out

10.96.0.1是我的kubernetes svc地址:
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 443/TCP 26d
ingress-nginx default-http-backend ClusterIP 10.102.71.61 80/TCP 2d
kube-system kube-dns ClusterIP 10.96.0.10 53/UDP,53/TCP 26d

@gjmzj
Copy link
Collaborator

gjmzj commented Dec 3, 2017

@pengyan2018 [你好,目前我还没有在这个部署中跑过nginx-ingress-controller,所以恐怕不能确定性回复你的问题;不过我已经实践过安装traefik ingress没有问题,且一直在运行中。
因此猜测这种部署方式下,跑nginx-ingress-controller也没有问题

@pengyan2018
Copy link
Author

@gjmzj 很高兴收到你的回复,我会尽快验证traefik ingress

@gjmzj
Copy link
Collaborator

gjmzj commented Dec 3, 2017

@pengyan2018 traefik ingress 的部署可以参考manifests/ingress里面的,另外项目持续更新中,期待你的关注和建议

@gjmzj gjmzj closed this as completed Dec 4, 2017
@pengyan2018
Copy link
Author

@gjmzj 好的,多谢!

ogre0403 added a commit to ogre0403/kubeasz that referenced this issue Apr 18, 2018
      "C": "TW",
      "ST": "Taichung",
      "L": "TC",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants