How to install Chantico
Installation of Chantico from OCI Registry
The easiest option to install Chantico into your k8s cluster is by using the helm package from the OCI Registry.
-
The command above installs the latest version of Chantico. See available chart versions. Also check out the releases or the changelog on the documentation website for the list of changes throughout the version history.
-
Inspect the values.yaml file to see what parameters can be provided. For example, excluding the Chantico controller from the installation can be done with
--set controller.include=false.
Upgrading using OCI Registry
To upgrade an existing chantico deployment to a new version, run helm upgrade with the new version provided.
Getting started with the deployed Chantico
After Chantico is successfully deployed on your cluster, you can start making use of it for measuring your datacenter hardware of interest. Currently this can only be done with manual configuration, until a more automated approach has been implemented. Chantico inherently configures SNMP walks for endpoints by means of MIB and .yaml files. The steps of configuring this typically follows the following how-to guides:
- How to register an SNMP device type - Upload the MIB files to use and make
.yamlfiles for measurement devices. Also see the example atconfig/samples/chantico_v1alpha1_measurementdevice.yaml. - How to register a physical SNMP device - Define IP address(es) of interest in physical measurement
.yamlfile. Example atconfig/samples/chantico_v1alpha1_physicalmeasurement.yaml. - With the MIB files, measurement devices and physical measurements in place, the targets should be accessible and scrapeable in Prometheus. Perform port forwarding on the Prometheus deployment to validate the result of this setup. If done successful one should see a timeseries of the requested value(s).
- How to register data center resources When desired, encapsulate data center structure using data center resources.
Uninstall Chantico on K8s cluster
- Remove Chantico together with dependencies like CRDs:
- Optionally, delete the namespace: