Skip to content

Commit

Permalink
limits
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Dec 2, 2024
1 parent 79311d8 commit dac8d9c
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 35 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/deploy-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,38 @@ jobs:
needs: deploy_snmp_exporter_dev3
#if: github.ref == 'refs/heads/main'

deploy_influxdb_prod1:
name: Deploy influxdb to prod 3
uses: ./.github/workflows/helm-influxdb.yaml
with:
environment: prod1
secrets: inherit
needs: deploy_prometheus_dev3
if: github.ref == 'refs/heads/main'
# deploy_influxdb_prod1:
# name: Deploy influxdb to prod 3
# uses: ./.github/workflows/helm-influxdb.yaml
# with:
# environment: prod1
# secrets: inherit
# needs: deploy_prometheus_dev3
# if: github.ref == 'refs/heads/main'

deploy_grafana_prod1:
name: Deploy grafana to prod 1
uses: ./.github/workflows/helm-grafana.yaml
with:
environment: prod1
secrets: inherit
needs: deploy_influxdb_prod1
if: github.ref == 'refs/heads/main'
# deploy_grafana_prod1:
# name: Deploy grafana to prod 1
# uses: ./.github/workflows/helm-grafana.yaml
# with:
# environment: prod1
# secrets: inherit
# needs: deploy_influxdb_prod1
# if: github.ref == 'refs/heads/main'

deploy_snmp_exporter_prod1:
name: Deploy snmp exporter to prod 1
uses: ./.github/workflows/helm-snmp_exporter.yaml
with:
environment: prod1
secrets: inherit
needs: deploy_grafana_prod1
if: github.ref == 'refs/heads/main'
# deploy_snmp_exporter_prod1:
# name: Deploy snmp exporter to prod 1
# uses: ./.github/workflows/helm-snmp_exporter.yaml
# with:
# environment: prod1
# secrets: inherit
# needs: deploy_grafana_prod1
# if: github.ref == 'refs/heads/main'

deploy_prometheus_prod1:
name: Deploy prometheus to prod 1
uses: ./.github/workflows/helm-prometheus.yaml
with:
environment: prod1
secrets: inherit
needs: deploy_snmp_exporter_prod1
if: github.ref == 'refs/heads/main'
# deploy_prometheus_prod1:
# name: Deploy prometheus to prod 1
# uses: ./.github/workflows/helm-prometheus.yaml
# with:
# environment: prod1
# secrets: inherit
# needs: deploy_snmp_exporter_prod1
# if: github.ref == 'refs/heads/main'
8 changes: 7 additions & 1 deletion grafana/dev3.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ ingress:
hosts:
- grafana-dev.mesh.nycmesh.net

resources: {}
resources:
requests:
memory: 256m
cpu: 100m
limits:
memory: 512m
cpu: 200m

persistence:
type: pvc
Expand Down
8 changes: 7 additions & 1 deletion prometheus/dev3.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ server:

alertmanagers: []

resources: {}
resources:
requests:
memory: 512m
cpu: 100m
limits:
memory: 1024m
cpu: 200m

dnsConfig:
nameservers:
Expand Down
8 changes: 7 additions & 1 deletion snmp_exporter/dev3.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

replicas: 1

resources: {}
resources:
requests:
memory: 64m
cpu: 100m
limits:
memory: 256m
cpu: 200m

revisionHistoryLimit: 3

0 comments on commit dac8d9c

Please sign in to comment.