istio

Форк
0
/
reference-policy-service.yaml.golden 
66 строк · 1.7 Кб
1
apiVersion: networking.istio.io/v1alpha3
2
kind: Gateway
3
metadata:
4
  annotations:
5
    internal.istio.io/gateway-semantics: gateway
6
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
7
    internal.istio.io/parents: Gateway/gateway/simple.istio-system
8
  creationTimestamp: null
9
  name: gateway-istio-autogenerated-k8s-gateway-simple
10
  namespace: istio-system
11
spec:
12
  servers:
13
  - hosts:
14
    - '*/*.domain.example'
15
    port:
16
      name: default
17
      number: 80
18
      protocol: HTTP
19
---
20
apiVersion: networking.istio.io/v1alpha3
21
kind: VirtualService
22
metadata:
23
  annotations:
24
    internal.istio.io/parents: HTTPRoute/backend-not-allowed.istio-system
25
    internal.istio.io/route-semantics: gateway
26
  creationTimestamp: null
27
  name: backend-not-allowed-0-istio-autogenerated-k8s-gateway
28
  namespace: istio-system
29
spec:
30
  gateways:
31
  - istio-system/gateway-istio-autogenerated-k8s-gateway-simple
32
  hosts:
33
  - simple2.domain.example
34
  http:
35
  - name: istio-system.backend-not-allowed.0
36
    route:
37
    - destination:
38
        host: my-svc.service.svc.domain.suffix
39
        port:
40
          number: 80
41
      weight: 1
42
    - destination: {}
43
      weight: 1
44
---
45
apiVersion: networking.istio.io/v1alpha3
46
kind: VirtualService
47
metadata:
48
  annotations:
49
    internal.istio.io/parents: HTTPRoute/http.istio-system
50
    internal.istio.io/route-semantics: gateway
51
  creationTimestamp: null
52
  name: http-0-istio-autogenerated-k8s-gateway
53
  namespace: istio-system
54
spec:
55
  gateways:
56
  - istio-system/gateway-istio-autogenerated-k8s-gateway-simple
57
  hosts:
58
  - simple.domain.example
59
  http:
60
  - name: istio-system.http.0
61
    route:
62
    - destination:
63
        host: my-svc.service.svc.domain.suffix
64
        port:
65
          number: 80
66
---
67

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.