Add Istio connectivity for Services below
[demo.git] / vnfs / DAaaS / deploy / istio-config / README.md
1 # Install Istio configurations for Service connectivity
2
3 ## Prometheus
4
5 ```bash
6 NOTE: Prometheus is Usually consumed by multiple services,
7 Thus we need to expose the Prometheus to all of them.
8
9 1. Update "allowedhosts" in values.yaml in prometheus-config-virtualservice
10 with all the servies consuming Prometheus
11 2. gateways - Name of the Istio gateway to which this
12 virtualservice will be connected to
13 3. destinationhost - Prometheus service's name
14 4. port - port of the Prometheus service
15
16 After updating all the required details as per the
17 specification of deployment run the below command
18
19 cd ~/demo/vnfs/DAaaS/deploy/istio-config/prometheus-config
20
21 helm install prometheus-istio-connectivity -n edge1
22 ```
23 ## Grafana
24
25 ```bash
26 NOTE: Grafana can be accessed on multiple hosts,
27 Update the "allowedhosts" on which the Grafana is
28 accessed
29
30 1. Update "allowedhosts" in values.yaml in grafana-config-virtualservice
31 with all the host/service names on which Grafana is accessed
32 2. gateways - Name of the Istio gateway to which this
33 virtualservice will be connected to
34 3. destinationhost - Grafana service's name
35 4. port - Port of the Grafana Service
36
37 After updating all the required details as per the
38 specification of deployment run the below command
39
40 cd ~/demo/vnfs/DAaaS/deploy/istio-config/grafana-config
41
42 helm install grafana-istio-connectivity -n edge1
43 ```
44
45 ## Minio
46 ```bash
47 NOTE: Minio is a Headless Service. From Istio's perspective
48 Headless service can be accessed only by accessing each pod
49 of the service.
50
51 To access each pod we need a virtualservice and service entry
52 which has pod level entries
53
54 1. Update "allowedhosts" in values.yaml in minio-istio-connectivity
55 with all the host/Service names on which minio is accessed
56 2. gateways - Name of the Istio gateway to which this
57 virtualservice will be connected to
58 3. destinationhost - pod name of minio which needs to be accessed
59 Template - <POD_NAME>.<SERVICE_NAME>.<NAMESPACE>.<SVC><CLUSTER>.<LOCAL>
60 4. destinationhostPort - Port of the minio pod
61
62 After updating all the required details as per the
63 specification of deployment run the below command
64
65 cd ~/demo/vnfs/DAaaS/deploy/istio-config/minio-config
66
67 helm install minio-istio-connectivity -n edge1
68 ```