Skip to content

Commit 37968ad

Browse files
DloritejaimeyhDavid Lorite Solanas
authored
Fix nginx and some files (#256)
* Add automatically resources (#250) * Add automatically resources * Add feedback and improvements * Add missing alerts * Update apps files * Add new changes and improvements * Update buildandDeploy.yml * Update buildandDeploy.yml * Add automatically resources (#251) * Add automatically resources * Add feedback and improvements * Add missing alerts * Update apps files * Add new changes and improvements * Fix some issues * Remove wrong files * Add dashboard yaml for opa * Add README for harbor * Remove readme to add later * Add README.md * Add missing README.md files and comment test for now * Change the github action * Change the github action * Add deploy in staging * Add new images * ADD fluentd and ntp dashboards images (#252) * Improve Readme files * Add links of the exporters as uri * Move coming soon to future apps * Add prerequisites for some ootb integrations * Update actions * [Issue #253] Fix missing } (#254) * Fix Python version in the action * Improve and fix files * Fix actions --------- Co-authored-by: Jaime Yera Hidalgo <[email protected]> Co-authored-by: David Lorite Solanas <[email protected]>
1 parent 8611113 commit 37968ad

File tree

19 files changed

+37
-39
lines changed

19 files changed

+37
-39
lines changed

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212
jobs:
1313
# This workflow contains a single job called "build"
14-
build:
14+
productionBuild:
1515
# The type of runner that the job will run on
1616
runs-on: ubuntu-latest
1717

.github/workflows/productionDeploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44

55
jobs:
66
# This workflow contains a single job called "build"
7-
build:
7+
deployInProduction:
88
# The type of runner that the job will run on
99
runs-on: ubuntu-latest
1010

@@ -29,8 +29,8 @@ jobs:
2929
cluster_name: ${{ secrets.CLUSTER_NAME }}
3030
location: 'us-central1-a'
3131
project_id: ${{ secrets.PROJECT_ID }}
32-
3332
- name: Deploy in production
3433
run: |
3534
chmod +x deployment/master/deploy.sh
3635
sh ./deployment/master/deploy.sh
36+

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,24 @@ on:
1111
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1212
jobs:
1313
# This workflow contains a single job called "build"
14-
build:
14+
test:
1515
# The type of runner that the job will run on
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: [3.6]
19+
python-version: [3.9]
2020

2121

2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2525
- uses: actions/checkout@v2
2626
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v2
27+
uses: actions/setup-python@v4
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies
3131
run: |
32-
apt-get update && apt-get install -y python-dev
3332
python -m pip install --upgrade pip
3433
pip install pytest pyyaml
3534
- name: Test with pytest

resources/apache/INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ To configure Apache server to produce common logs, include (or uncomment) the fo
7878
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
7979
CustomLog /usr/local/apache2/logs/accesss.log common
8080
</IfModule>
81-
```# Installation
81+
```
82+
# Installation
8283

8384
You can use our helm-charts in order to install the exporter in your cluster.
8485
```sh

resources/ceph/INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Make sure that the Prometheus module is activated in the Ceph cluster by running
77

88
```
99
ceph mgr module enable prometheus
10-
```# Installation
11-
10+
```
11+
# Installation
1212
The application is ready to be scraped

resources/consul/INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ If you install Consul with Helm, you need to use the following flags:
1111
--set 'global.metrics.enableAgentMetrics=true'
1212
--set 'server.extraConfig="{"telemetry": {"disable_hostname": true}}"'
1313
--set 'client.extraConfig="{"telemetry": {"disable_hostname": true}}"'
14-
```# Installation
14+
```
15+
# Installation
1516

1617
The application is ready to be scraped

resources/elasticsearch/INSTALL.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,17 @@
22

33
### Create the Secrets
44
Keep in mind:
5-
* If your ElasticSearch cluster is using basic authentication, the secret that contains the url must have the user and password.
5+
* If your ElasticSearch cluster is using basic authentication, you have to create the secret that contains the user and password.
66
* The secrets need to be created **in the same namespace where the exporter** will be deployed.
77
* Use the **same _user name_ and _password_ that you used for the api**.
88
* You can change the name of the secret. If you do this, you will need to **select it in the next steps** of the integration.
99

10-
#### Create the Secret for the URL
11-
##### Without Authentication
12-
```sh
13-
kubectl -n Your-Application-Namespace create secret generic elastic-url-secret \
14-
--from-literal=url='http://SERVICE:PORT'
15-
```
10+
#### Create the Secret for the username and password with Basic Auth option
1611

17-
##### With Basic Auth
1812
```sh
19-
kubectl -n Your-Application-Namespace create secret generic elastic-url-secret \
20-
--from-literal=url='https://USERNAME:PASSWORD@SERVICE:PORT'
13+
kubectl -n Your-Exporter-Namespace create secret generic elastic-user-pass-secret \
14+
--from-literal=username='<your-username>' --from-literal=password='<your-password>'
2115
```
22-
NOTE: You can use either http or https in the URL.
2316

2417
#### Create the Secret for the TLS Certs
2518
If you are using HTTPS with custom certificates, follow the instructions given below.

resources/haproxy-ingress/INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ frontend prometheus
2626
http-request use-service lua.send-prometheus-root if { path / }
2727
http-request use-service lua.send-404
2828
no log
29-
```# Installation
29+
```
30+
# Installation
3031

3132
The application is ready to be scraped

resources/harbor/INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ As seen in the Harbor documentation page [Configure the Harbor YML File](https:/
77
If you install Harbor with Helm, you need to use the following flag:
88
```
99
--set 'metrics.enabled=true'
10-
```# Installation
10+
```
11+
# Installation
1112

1213
The application is ready to be scraped

resources/kafka/INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ kubectl create secret generic kafka-exporter-sasl-scram --from-file=username --f
3636
If using SASL+Kerberos, you'll need to create a Secret which contains the "kerberos.conf". If the 'Kerberos Auth Type' is 'keytabAuth', it should also contain the "kerberos.keytab". Example:
3737
```
3838
kubectl create secret generic kafka-exporter-sasl-kerberos --from-file=./kerberos.conf --from-file=./kerberos.keytab --dry-run=true -o yaml | kubectl apply -f -
39-
```# Installation
39+
```
40+
# Installation
4041

4142
You can use our helm-charts in order to install the exporter in your cluster.
4243
```sh

0 commit comments

Comments
 (0)