X-Git-Url: https://gerrit.onap.org/r/gitweb?p=demo.git;a=blobdiff_plain;f=vnfs%2FDAaaS%2Fdeploy%2Fistio-config%2FREADME.md;fp=vnfs%2FDAaaS%2Fdeploy%2Fistio-config%2FREADME.md;h=5053ac3f153cc02c0ea953fc8abfb4798ea8ba96;hp=0000000000000000000000000000000000000000;hb=7da06c296697269dd25fe03528c9f12b62206482;hpb=d614d3d6cc1d40664215f79fc2c2f38af03a9996 diff --git a/vnfs/DAaaS/deploy/istio-config/README.md b/vnfs/DAaaS/deploy/istio-config/README.md new file mode 100644 index 00000000..5053ac3f --- /dev/null +++ b/vnfs/DAaaS/deploy/istio-config/README.md @@ -0,0 +1,68 @@ +# Install Istio configurations for Service connectivity + +## Prometheus + +```bash +NOTE: Prometheus is Usually consumed by multiple services, +Thus we need to expose the Prometheus to all of them. + +1. Update "allowedhosts" in values.yaml in prometheus-config-virtualservice +with all the servies consuming Prometheus +2. gateways - Name of the Istio gateway to which this +virtualservice will be connected to +3. destinationhost - Prometheus service's name +4. port - port of the Prometheus service + +After updating all the required details as per the +specification of deployment run the below command + +cd ~/demo/vnfs/DAaaS/deploy/istio-config/prometheus-config + +helm install prometheus-istio-connectivity -n edge1 +``` +## Grafana + +```bash +NOTE: Grafana can be accessed on multiple hosts, +Update the "allowedhosts" on which the Grafana is +accessed + +1. Update "allowedhosts" in values.yaml in grafana-config-virtualservice +with all the host/service names on which Grafana is accessed +2. gateways - Name of the Istio gateway to which this +virtualservice will be connected to +3. destinationhost - Grafana service's name +4. port - Port of the Grafana Service + +After updating all the required details as per the +specification of deployment run the below command + +cd ~/demo/vnfs/DAaaS/deploy/istio-config/grafana-config + +helm install grafana-istio-connectivity -n edge1 +``` + +## Minio +```bash +NOTE: Minio is a Headless Service. From Istio's perspective +Headless service can be accessed only by accessing each pod +of the service. + +To access each pod we need a virtualservice and service entry +which has pod level entries + +1. Update "allowedhosts" in values.yaml in minio-istio-connectivity +with all the host/Service names on which minio is accessed +2. gateways - Name of the Istio gateway to which this +virtualservice will be connected to +3. destinationhost - pod name of minio which needs to be accessed +Template - .... +4. destinationhostPort - Port of the minio pod + +After updating all the required details as per the +specification of deployment run the below command + +cd ~/demo/vnfs/DAaaS/deploy/istio-config/minio-config + +helm install minio-istio-connectivity -n edge1 +```