Skip to content

dBildungsplattform/ionos-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IONOS Exporter

This application polls the Ionos API for Datacenter objects. These objects contain information on the amount of servers, RAM, and CPU cores currently in use. The data is logged and exposed as Prometheus metrics at the /metrics endpoint.

Deployment

The application is packaged as a Helm chart for deployment. The compilation of container image and Helm chart are automated via Github Actions. The workflows are triggered once a semver git tag (of type '[0-9]+.[0-9]+.[0-9]+') is pushed. Container images are compiled and pushed to ghcr. The helm charts are pushed to this registry. For more details on application configuration and Helm chart packaging see /charts/ionos-exporter/README.md. The rollout of the provided Helm chart is automated with Ansible and the kubernetes.core.helm Module. A release follows these steps:

  1. Increment version and AppVersion in charts/ionos-exporter/Chart.yaml
  2. Create a tag with git tag <AppVersion>. Make sure the tags versions matches with AppVersion. This is the default for the container images tag as defined in charts/ionos-exporter/templates/deployment.yaml.
  3. Push tags (and other changes) upstream with git push origin --tags