1
-
2
- apiVersion : networking.istio.io/v1alpha3
3
- kind : VirtualService
4
- metadata :
5
- name : kube-system-k8s-dashboard-cluster
6
- namespace : kube-system
7
- spec :
8
- gateways :
9
- - kubeflow/kubeflow-gateway
10
- hosts :
11
- - " *" # 配置自己管理的域名kubeflow.local.com
12
- http :
13
- - match :
14
- - uri :
15
- prefix : /k8s/dashboard/cluster/
16
- rewrite :
17
- uri : /
18
- route :
19
- - destination :
20
- host : kubernetes-dashboard-cluster.kube-system.svc.cluster.local
21
- port :
22
- number : 9090
23
-
24
- ---
25
- apiVersion : networking.istio.io/v1alpha3
26
- kind : VirtualService
27
- metadata :
28
- name : kube-system-k8s-dashboard-user1
29
- namespace : kube-system
30
- spec :
31
- gateways :
32
- - kubeflow/kubeflow-gateway
33
- hosts :
34
- - " *" # 配置自己管理的域名kubeflow.local.com
35
- http :
36
- - match :
37
- - uri :
38
- prefix : /k8s/dashboard/user1/
39
- rewrite :
40
- uri : /
41
- route :
42
- - destination :
43
- host : kubernetes-dashboard-user1.kube-system.svc.cluster.local
44
- port :
45
- number : 9090
46
- ---
47
- apiVersion : networking.istio.io/v1alpha3
48
- kind : VirtualService
49
- metadata :
50
- name : kubeflow-labelstudio
51
- namespace : kubeflow
52
- spec :
53
- gateways :
54
- - kubeflow/kubeflow-gateway
55
- hosts :
56
- - " *" # 配置自己管理的域名 kubeflow.local.com
57
- http :
58
- - match :
59
- - uri :
60
- prefix : /labelstudio/
61
- rewrite :
62
- uri : /labelstudio/
63
- route :
64
- - destination :
65
- host : labelstudio.kubeflow.svc.cluster.local
66
- port :
67
- number : 8080
68
- ---
69
- apiVersion : networking.istio.io/v1alpha3
70
- kind : VirtualService
71
- metadata :
72
- name : monitoring-grafana
73
- namespace : monitoring
74
- spec :
75
- gateways :
76
- - kubeflow/kubeflow-gateway
77
- hosts :
78
- - " *" # 配置自己管理的域名 kubeflow.local.com
79
- http :
80
- - match :
81
- - uri :
82
- prefix : /grafana/
83
- rewrite :
84
- uri : /
85
- route :
86
- - destination :
87
- host : grafana.monitoring.svc.cluster.local
88
- port :
89
- number : 8080
90
- # ---
91
- # apiVersion: networking.istio.io/v1alpha3
92
- # kind: VirtualService
93
- # metadata:
94
- # name: monitoring-prometheus
95
- # namespace: monitoring
96
- # spec:
97
- # gateways:
98
- # - kubeflow/kubeflow-gateway
99
- # hosts:
100
- # - "*" # 配置自己管理的域名 kubeflow.local.com
101
- # http:
102
- # - match:
103
- # - uri:
104
- # prefix: /prometheus/
105
- # rewrite:
106
- # uri: /prometheus/
107
- # route:
108
- # - destination:
109
- # host: prometheus-k8s.monitoring.svc.cluster.local
110
- # port:
111
- # number: 9090
112
- ---
113
- # # 私有云环境minio存放public所有静态资源vs
114
- # apiVersion: networking.istio.io/v1beta1
115
- # kind: VirtualService
116
- # metadata:
117
- # name: minio
118
- # namespace: kubeflow
119
- # spec:
120
- # gateways:
121
- # - kubeflow/kubeflow-gateway
122
- # hosts:
123
- # - '*'
124
- # http:
125
- # - corsPolicy:
126
- # allowHeaders:
127
- # - '*'
128
- # allowMethods:
129
- # - POST
130
- # - GET
131
- # allowOrigin:
132
- # - '*'
133
- # match:
134
- # - uri:
135
- # prefix: /minio/
136
- # rewrite:
137
- # uri: /
138
- # route:
139
- # - destination:
140
- # host: minio.kubeflow.svc.cluster.local
141
- # port:
142
- # number: 9000
143
-
1
+ c
0 commit comments