SHARE
TWEET

ej1-3.ingress.yml

pilasguru Jun 4th, 2020 (edited) 1,019 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: networking.k8s.io/v1beta1
  2. kind: Ingress
  3. metadata:
  4.   name: hostname-ing
  5.   namespace: grupo00
  6.   labels:
  7.     name: hostname
  8.   annotations:
  9.     nginx.ingress.kubernetes.io/rewrite-target: /$2
  10. spec:
  11.   rules:
  12.   - http:
  13.       paths:
  14.       - path: /grupo00(/|$)(.*)
  15.         backend:
  16.           serviceName: hostname-svc
  17.           servicePort: 3333
  18.  
  19. # curl http://ucu.w.uy/grupo00/
  20. #
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top