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

HTTPS SLB 400 Bad Request #32

Open
slzzz opened this issue Aug 24, 2021 · 0 comments
Open

HTTPS SLB 400 Bad Request #32

slzzz opened this issue Aug 24, 2021 · 0 comments

Comments

@slzzz
Copy link

slzzz commented Aug 24, 2021

hello,我在试图通过slb https协议访问k8s 内部http应用是遇到400 Bad Request

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: ingress-test
  annotations:
    # use the shared ingress-nginx
    kubernetes.io/ingress.class: "nginx"
spec:
  backend:
    serviceName: test
    servicePort: 80
  rules:
  - host: x.x.x.x
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          serviceName: test

kube-system nginx-ingress-lb LoadBalancer 192.168.173.129 x.x.x.x 80:30369/TCP,443:31110/TCP 2d20h

当将ssl放到ingress,并且修改slb为tcp是工作正常

问题: 已经在slb配置证书,为啥无法工作?

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

1 participant