daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: networking.istio.io/v1alpha3
  2. kind: VirtualService
  3. metadata:
  4.   name: my-virtualservice
  5. spec:
  6.   hosts:
  7.     # my-service.default.svc.cluster.local ?
  8.   - "*"
  9.   gateways:
  10.   - my-gateway
  11.   http:
  12.   - match:
  13.     - uri:
  14.         prefix: /somepath/
  15.     route:
  16.     - destination:
  17.         host: my-service
  18.    
  19. Defining a service:
  20. # K8s - Service
  21. apiVersion: v1
  22. kind: Service
  23. metadata:
  24.   name: my-service
  25. spec:
  26.   ports:
  27.   - name: my-port
  28.     port: #***  Dynamic port? ***#
  29.     targetPort: 80
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