@grucloud/module-k8s-prometheus
v13.2.5
Published
GruCloud Module for prometheus
Downloads
216
Maintainers
Readme
GruCloud module for Prometheus
This GruCloud module allows to deploy Prometheus
How to consume this module
npm i @grucloud/module-k8s-prometheus
In your iac.js file, import the package:
const PostgresOperator = require("@grucloud/module-k8s-prometheus");
Invoke the createResources function with a K8sProvider instance
const prometheusResources = await Prometheus.createResources({
provider,
});
Examples
Have a look at the example
Release a new version
Modify the manifest version from the download-manifest scripts sections of the package.json.
Run the download-manifest
npm script:
npm run download-manifest
Run the k8s-manifest2code to generate the new resource.js:
npm run gen-code
Ready for testing ? Go to the example