Skip to content

Commit 0c6405f

Browse files
authored
Merge pull request #28 from citrix/promupdates
Updated default namespace related information in the doc
2 parents adb979f + fdab9e6 commit 0c6405f

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

docs/deploy-coe-with-prometheus.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,28 @@ Citrix ADC Observability Exporter has a push-gateway server that listens to port
66

77
![Prometheus and Grafana architecture](media/coe-prometheus-grafana-architecture.png)
88

9-
## Configure Citrix ADC Observability Exporter
9+
## Deploy Citrix ADC Observability Exporter
1010

1111
You can deploy Citrix ADC Observability Exporter using the YAML file. Based on your Citrix ADC deployment, deploy Citrix ADC Observability Exporter either outside or inside Kubernetes clusters. You can deploy Citrix ADC Observability Exporter as a pod inside the Kubernetes cluster or on Citrix ADC MPX or VPX appliance outside the cluster.
1212

1313
**Prerequisites**
1414

1515
- Ensure that you have a Kubernetes cluster with kube-dns or CoreDNS addon enabled.
1616

17-
In the following procedure, the YAML file is used to deploy Citrix ADC Observability Exporter in the Kubernetes *defauIt* namespace. If you want to deploy in a private namespace other than the *default*, edit the YAML file to specify the namespace.
17+
Deploying Citrix ADC Observability Exporter with the Prometheus endpoint includes the following tasks:
1818

19-
Perform the following steps to deploy a sample webserver application:
19+
- Deploy a sample application
20+
- Deploy Citrix ADC CPX with support enabled for Citrix ADC Observability Exporter
21+
- Deploy Prometheus and Grafana using YAML files
22+
- Deploy Citrix ADC Observability Exporter using the YAML file
23+
- Configure Citrix ADC to export metrics (optional)
24+
- Configure Prometheus (optional) to pull telemetry data
25+
- Configure Grafana
26+
- Create Grafana visualization
27+
28+
### Deploy a sample application
29+
30+
The following is an example procedure for deploying a sample webserver application.
2031

2132
**Note**: If you have a pre-deployed web application, skip the steps from step 1 to step 3.
2233

@@ -38,7 +49,7 @@ Perform the following steps to deploy a sample webserver application:
3849

3950
For more information about Annotations, see [Ingress annotations help](https://github.com/citrix/citrix-k8s-ingress-controller/blob/666d6267e5b09683740528c5e8dd46f16d7d16e0/docs/configure/annotations.md).
4051

41-
## Deploy Citrix ADC CPX with the Citrix ADC Observability Exporter support
52+
### Deploy Citrix ADC CPX with support enabled for Citrix ADC Observability Exporter
4253

4354
You can deploy Citrix ADC CPX as a side car with the Citrix ADC Observability Exporter support enabled along with Citrix ingress controller. You can modify the Citrix ADC CPX YAML file `cpx-ingress-es.yaml` to include the configuration information that is required for the Citrix ADC Observability Exporter support.
4455

@@ -52,7 +63,7 @@ You can deploy Citrix ADC CPX as a side car with the Citrix ADC Observability Ex
5263

5364
**Note**: If you have used a namespace other than *default*, change `coe-prometheus.default.svc.cluster.local to` to `coe-prometheus.<desired-namespace>.svc.cluster.local`.
5465

55-
## Deploy Prometheus and Grafana using YAML files
66+
### Deploy Prometheus and Grafana using YAML files
5667

5768
To deploy Prometheus and Grafana using YAML files, perform the following steps:
5869

@@ -64,7 +75,7 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
6475

6576
**Note**: Prometheus and Grafana are deployed in the default namespace of the same Kubernetes cluster.
6677

67-
## Deploy Citrix ADC Observability Exporter using the YAML file
78+
### Deploy Citrix ADC Observability Exporter using the YAML file
6879

6980
You can deploy Citrix ADC Observability Exporter using the YAML file. Download the YAML file from [coe-prometheus.yaml](https://raw.githubusercontent.com/citrix/citrix-observability-exporter/master/examples/prometheus/coe-prometheus.yaml).
7081

@@ -74,9 +85,9 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
7485

7586
**Note**: Modify the YAML file for Citrix ADC Observability Exporter if you have a custom namespace.
7687

77-
## Configure Citrix ADC to export metrics (optional)
88+
### Configure Citrix ADC to export metrics (optional)
7889

79-
**Note**: If you do not use CIC to configure, then you can do the following manual configuration on your Citric ADC.
90+
**Note**: If you do not use CIC to configure, then you can do the following manual configuration on your Citrix ADC.
8091

8192
You can manually configure Citrix ADCs to export metrics to the Citrix ADC Observability exporter. Specify the Citrix ADC Observability Exporter IP/FQDN address as an HTTP service and combine it to the default `ns_analytics_time_series_profile` analytics profile. Enable the metrics export and set the output mode to Prometheus.
8293

@@ -86,7 +97,7 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
8697
add service coe_metric_collector_svc_192.168.1.102 COE_instance HTTP 5563
8798
set analytics profile ns_analytics_time_series_profile -collector coe_metric_collector_svc_192.168.1.102 -Metrics ENABLED -OutputMode Prometheus
8899

89-
## Configure Prometheus (optional) to pull telemetry data
100+
### Configure Prometheus (optional) to pull telemetry data
90101

91102
Prometheus services are available as Docker images on [Quay container registry](https://quay.io/) and Docker Hub.
92103

@@ -101,11 +112,11 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
101112
static_configs:
102113
- targets: ['192.168.1.102:5563']
103114

104-
## Configure Grafana
115+
### Configure Grafana
105116

106117
In the current deployment, a Prometheus server has already been added as a data source. If you use an existing Prometheus server for the deployment, ensure to add the same as a data source on your Grafana. For more information, see [Grafana support for Prometheus](https://prometheus.io/docs/visualization/grafana/).
107118

108-
## Create Grafana visualization
119+
### Create Grafana visualization
109120

110121
You can create a Grafana dashboard and select the key metrics and the visualization type that is suitable for the data.
111122

0 commit comments

Comments
 (0)