Ingress访问后端K8s pod如果需要https的配置
Ingress的扩展也有好多种
如果用的是nginx ingress,需要在ingress上添加annotations
- kind: Ingress
- metadata:
- annotations:
- nginx.ingress.kubernetes.io/backend-protocol: HTTPS
如果用的是kong ingress扩展,需要在service层添加annotations
- kind: Service
- metadata:
- annotations:
- konghq.com/protocol: https
推荐阅读