File tree Expand file tree Collapse file tree 5 files changed +27
-18
lines changed Expand file tree Collapse file tree 5 files changed +27
-18
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # trap 'echo "${BASH_SOURCE[0]}: line ${LINENO}: status ${?}: user ${USER}: func ${FUNCNAME[0]}"' ERR
3
- # set -o errexit
4
- # set -o errtrace
2
+ trap ' echo "${BASH_SOURCE[0]}: line ${LINENO}: status ${?}: user ${USER}: func ${FUNCNAME[0]}"' ERR
3
+ set -o errexit
4
+ set -o errtrace
5
5
6
- cd ../istio-* /
7
- kubectl apply --namespace istio-system --filename samples/addons
6
+ kubectl apply -f https://raw.githubusercontent.com/istio/istio/refs/heads/master/samples/addons/grafana.yaml
7
+ kubectl apply -f https://raw.githubusercontent.com/istio/istio/refs/heads/master/samples/addons/jaeger.yaml
8
+ kubectl apply -f https://raw.githubusercontent.com/istio/istio/refs/heads/master/samples/addons/kiali.yaml
9
+ kubectl apply -f https://raw.githubusercontent.com/istio/istio/refs/heads/master/samples/addons/loki.yaml
10
+ kubectl apply -f https://raw.githubusercontent.com/istio/istio/refs/heads/master/samples/addons/prometheus.yaml
11
+
12
+ # #####################################################################
13
+
14
+ # ## install
15
+ # cd ../istio-*/
16
+ # kubectl apply -f samples/addons
8
17
9
18
# ## delete
10
19
# cd ../istio-*/
11
- # kubectl delete --filename samples/addons
20
+ # kubectl delete -f samples/addons
Original file line number Diff line number Diff line change 1
1
---
2
- apiVersion : networking.istio.io/v1alpha3
2
+ apiVersion : networking.istio.io/v1
3
3
kind : Gateway
4
4
metadata :
5
5
name : grafana-gw
26
26
credentialName : grafana-cert
27
27
mode : SIMPLE
28
28
---
29
- apiVersion : networking.istio.io/v1alpha3
29
+ apiVersion : networking.istio.io/v1
30
30
kind : VirtualService
31
31
metadata :
32
32
name : grafana-vs
43
43
port :
44
44
number : 3000
45
45
---
46
- apiVersion : networking.istio.io/v1alpha3
46
+ apiVersion : networking.istio.io/v1
47
47
kind : DestinationRule
48
48
metadata :
49
49
name : grafana-dr
Original file line number Diff line number Diff line change 1
1
---
2
- apiVersion : networking.istio.io/v1alpha3
2
+ apiVersion : networking.istio.io/v1
3
3
kind : Gateway
4
4
metadata :
5
5
name : jaeger-gw
26
26
credentialName : jaeger-cert
27
27
mode : SIMPLE
28
28
---
29
- apiVersion : networking.istio.io/v1alpha3
29
+ apiVersion : networking.istio.io/v1
30
30
kind : VirtualService
31
31
metadata :
32
32
name : jaeger-vs
43
43
port :
44
44
number : 80
45
45
---
46
- apiVersion : networking.istio.io/v1alpha3
46
+ apiVersion : networking.istio.io/v1
47
47
kind : DestinationRule
48
48
metadata :
49
49
name : jaeger-dr
Original file line number Diff line number Diff line change 1
1
---
2
- apiVersion : networking.istio.io/v1alpha3
2
+ apiVersion : networking.istio.io/v1
3
3
kind : Gateway
4
4
metadata :
5
5
name : kiali-gw
26
26
credentialName : kiali-cert
27
27
mode : SIMPLE
28
28
---
29
- apiVersion : networking.istio.io/v1alpha3
29
+ apiVersion : networking.istio.io/v1
30
30
kind : VirtualService
31
31
metadata :
32
32
name : kiali-vs
43
43
port :
44
44
number : 20001
45
45
---
46
- apiVersion : networking.istio.io/v1alpha3
46
+ apiVersion : networking.istio.io/v1
47
47
kind : DestinationRule
48
48
metadata :
49
49
name : kiali-dr
Original file line number Diff line number Diff line change 1
1
---
2
- apiVersion : networking.istio.io/v1alpha3
2
+ apiVersion : networking.istio.io/v1
3
3
kind : Gateway
4
4
metadata :
5
5
name : prometheus-gw
26
26
credentialName : prometheus-cert
27
27
mode : SIMPLE
28
28
---
29
- apiVersion : networking.istio.io/v1alpha3
29
+ apiVersion : networking.istio.io/v1
30
30
kind : VirtualService
31
31
metadata :
32
32
name : prometheus-vs
43
43
port :
44
44
number : 9090
45
45
---
46
- apiVersion : networking.istio.io/v1alpha3
46
+ apiVersion : networking.istio.io/v1
47
47
kind : DestinationRule
48
48
metadata :
49
49
name : prometheus-dr
You can’t perform that action at this time.
0 commit comments