istio

Форк
0
155 строк · 4.0 Кб
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/passthrough.istio-system
8
  creationTimestamp: null
9
  name: gateway-istio-autogenerated-k8s-gateway-passthrough
10
  namespace: istio-system
11
spec:
12
  servers:
13
  - hosts:
14
    - '*/*'
15
    port:
16
      name: default
17
      number: 34000
18
      protocol: TLS
19
    tls: {}
20
---
21
apiVersion: networking.istio.io/v1alpha3
22
kind: Gateway
23
metadata:
24
  annotations:
25
    internal.istio.io/gateway-semantics: gateway
26
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
27
    internal.istio.io/parents: Gateway/gateway/terminate.istio-system
28
  creationTimestamp: null
29
  name: gateway-istio-autogenerated-k8s-gateway-terminate
30
  namespace: istio-system
31
spec:
32
  servers:
33
  - hosts:
34
    - '*/domain.example'
35
    port:
36
      name: default
37
      number: 34000
38
      protocol: HTTPS
39
    tls:
40
      credentialName: kubernetes-gateway://istio-system/my-cert-http
41
      mode: SIMPLE
42
---
43
apiVersion: networking.istio.io/v1alpha3
44
kind: Gateway
45
metadata:
46
  annotations:
47
    internal.istio.io/gateway-semantics: gateway
48
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
49
    internal.istio.io/parents: Gateway/gateway/terminate-mtls.istio-system
50
  creationTimestamp: null
51
  name: gateway-istio-autogenerated-k8s-gateway-terminate-mtls
52
  namespace: istio-system
53
spec:
54
  servers:
55
  - hosts:
56
    - '*/other.example'
57
    port:
58
      name: default
59
      number: 34000
60
      protocol: HTTPS
61
    tls:
62
      credentialName: kubernetes-gateway://istio-system/my-cert-http
63
      mode: MUTUAL
64
---
65
apiVersion: networking.istio.io/v1alpha3
66
kind: Gateway
67
metadata:
68
  annotations:
69
    internal.istio.io/gateway-semantics: gateway
70
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
71
    internal.istio.io/parents: Gateway/gateway/terminate-istio-mtls.istio-system
72
  creationTimestamp: null
73
  name: gateway-istio-autogenerated-k8s-gateway-terminate-istio-mtls
74
  namespace: istio-system
75
spec:
76
  servers:
77
  - hosts:
78
    - '*/egress.example'
79
    port:
80
      name: default
81
      number: 34000
82
      protocol: HTTPS
83
    tls:
84
      mode: ISTIO_MUTUAL
85
---
86
apiVersion: networking.istio.io/v1alpha3
87
kind: VirtualService
88
metadata:
89
  annotations:
90
    internal.istio.io/parents: HTTPRoute/http.default
91
    internal.istio.io/route-semantics: gateway
92
  creationTimestamp: null
93
  name: http-0-istio-autogenerated-k8s-gateway
94
  namespace: default
95
spec:
96
  gateways:
97
  - istio-system/gateway-istio-autogenerated-k8s-gateway-terminate
98
  hosts:
99
  - domain.example
100
  http:
101
  - name: default.http.0
102
    route:
103
    - destination:
104
        host: httpbin.default.svc.domain.suffix
105
        port:
106
          number: 80
107
---
108
apiVersion: networking.istio.io/v1alpha3
109
kind: VirtualService
110
metadata:
111
  annotations:
112
    internal.istio.io/parents: TLSRoute/tls-match.default
113
    internal.istio.io/route-semantics: gateway
114
  creationTimestamp: null
115
  name: tls-match-tls-0-istio-autogenerated-k8s-gateway
116
  namespace: default
117
spec:
118
  gateways:
119
  - istio-system/gateway-istio-autogenerated-k8s-gateway-passthrough
120
  hosts:
121
  - foo.com
122
  tls:
123
  - match:
124
    - sniHosts:
125
      - foo.com
126
    route:
127
    - destination:
128
        host: httpbin-foo.default.svc.domain.suffix
129
        port:
130
          number: 443
131
---
132
apiVersion: networking.istio.io/v1alpha3
133
kind: VirtualService
134
metadata:
135
  annotations:
136
    internal.istio.io/parents: TLSRoute/tls.default
137
    internal.istio.io/route-semantics: gateway
138
  creationTimestamp: null
139
  name: tls-tls-0-istio-autogenerated-k8s-gateway
140
  namespace: default
141
spec:
142
  gateways:
143
  - istio-system/gateway-istio-autogenerated-k8s-gateway-passthrough
144
  hosts:
145
  - '*'
146
  tls:
147
  - match:
148
    - sniHosts:
149
      - '*'
150
    route:
151
    - destination:
152
        host: httpbin.default.svc.domain.suffix
153
        port:
154
          number: 443
155
---
156

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

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

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

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