diff options
author | Pramod <pramod.raghavendra.jayathirth@intel.com> | 2019-10-04 17:23:19 -0700 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2019-10-09 14:40:32 +0000 |
commit | 7da06c296697269dd25fe03528c9f12b62206482 (patch) | |
tree | 12bab59d0907a48935e5123139cd3b8518305c88 /vnfs/DAaaS/deploy/istio-config/README.md | |
parent | d614d3d6cc1d40664215f79fc2c2f38af03a9996 (diff) |
Add Istio connectivity for Services below
1. Grafana
2. Prometheus
3. Minio (Istio ServiceEntry Added)
Issue-ID: ONAPARC-511
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: I2cb21c18fde6ecb431fa7f407ce5e13ab31fc910
Diffstat (limited to 'vnfs/DAaaS/deploy/istio-config/README.md')
-rw-r--r-- | vnfs/DAaaS/deploy/istio-config/README.md | 68 |
1 files changed, 68 insertions, 0 deletions
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 - <POD_NAME>.<SERVICE_NAME>.<NAMESPACE>.<SVC><CLUSTER>.<LOCAL> +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 +``` |