1. 程式人生 > >kubernetes ingress example

kubernetes ingress example

service force pat names rule add uber path ati

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