首页 > Web开发 > 详细

kubernetes ingress example

时间:2018-07-04 19:57:24      阅读:321      评论:0      收藏:0      [点我收藏+]
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: bach-es-client-ingress
  namespace: bach
  annotations:
    nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/add-base-url: "true"
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - http:
      paths:
      - path: /es/
        backend:
          serviceName: elasticsearch-logging-client
          servicePort: 9200

  

kubernetes ingress example

原文:https://www.cnblogs.com/allenhaozi/p/9264935.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!