istio

Форк
0
/
alias.yaml.golden 
69 строк · 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/default.istio-system
8
  creationTimestamp: null
9
  name: gateway-istio-autogenerated-k8s-gateway-default
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/http.default
25
    internal.istio.io/route-semantics: gateway
26
  creationTimestamp: null
27
  name: http-0-istio-autogenerated-k8s-gateway
28
  namespace: default
29
spec:
30
  gateways:
31
  - istio-system/gateway-istio-autogenerated-k8s-gateway-default
32
  hosts:
33
  - first.domain.example
34
  http:
35
  - match:
36
    - uri:
37
        prefix: /
38
    name: default.http.0
39
    route:
40
    - destination:
41
        host: httpbin.default.svc.domain.suffix
42
        port:
43
          number: 80
44
---
45
apiVersion: networking.istio.io/v1alpha3
46
kind: VirtualService
47
metadata:
48
  annotations:
49
    internal.istio.io/parents: HTTPRoute/http.default
50
    internal.istio.io/route-semantics: gateway
51
  creationTimestamp: null
52
  name: http-1-istio-autogenerated-k8s-gateway
53
  namespace: default
54
spec:
55
  gateways:
56
  - istio-system/gateway-istio-autogenerated-k8s-gateway-default
57
  hosts:
58
  - another.domain.example
59
  http:
60
  - match:
61
    - uri:
62
        prefix: /
63
    name: default.http.0
64
    route:
65
    - destination:
66
        host: httpbin.default.svc.domain.suffix
67
        port:
68
          number: 80
69
---
70

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

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

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

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