A prometheus exporter collecting the actual CO2 emission from France's electricity consumption. It is based on the RTE eco2mix app.
docker build -t co2-exporter .
Configuration du deployment dans le deployment.yaml
.
kubectl apply -f deployment.yaml
Configuration dans rules.yaml
.
helm upgrade --install prometheus-adapter prometheus-community/prometheus-adapter -n monitoring-system -f rules.yml
# horizontal pod autoscaler
Configuration dans hpa.yaml
kubectl apply -f hpa.yaml