Skip to content

Kubernetes importer

Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management. It was originally designed by Google and is now maintained by the Cloud Native Computing Foundation. It aims to provide a "platform for automating deployment, scaling, and operations of container workloads". It works with a variety of container runtimes such as Docker, Containerd, and CRI-O. Versio.io can import, historize and process monitoring data from Kubernetes.

Configuration

You can find the configuration option in Versio.io at Environment settings > OneImporter > Configurations > Kubernetes.

Here you can edit all existing configurations, create new configurations or delete existing configurations. To add a new configuration enter a Name for your importer and an Entity suffix (default: -kubernetes) to clearly identify your Kubernetes entities.
Note that the Entity suffix is fixed and cannot be changed afterwards.

Click Add to proceed to the configuration.

To edit an existing configurations click the arrow on the left of your importer name to expand the configuration options.

Following configuration options are available:

Field Description Advice
Name Meaningful name Add the word "Kubernetes" to identify importer when viewing the logs
Active Option to activate and deactivate the configuration. Data is only imported if the configuration is activated.
Access stratagy Select a configuration file or paste your Bearer Token
kubectl configuration file Insert the path to your kubectl configuration file Kubernetes authentication documentation
Bearer Token Insert your Server URL and the Bearer Token Kubernetes authentication documentation
Entities Select all required entities
Executing OneImporter Select a Versio.io OneImporter to import the data based on the importer configuration. Requires installed OneImporter: Installation instruction
Schedule time (cron format) Determine the frequency of imports in CRON format Learn more about CRON format: https://en.wikipedia.org/wiki/Cron

Table: Kubernetes configuration parameter

  The following image is an example of a Kubernetes configuration with a configuration file:

Versio.io Kubernetes importer configuration Figure: Example of a Versio.io Kubernetes configuration with a configuration file   The following image is an example of a Kubernetes configuration with a Bearer Token: Versio.io Kubernetes importer configuration Figure: Example of a Versio.io Kubernetes configuration with a Bearer Token  

Example

The Versio.io OneImporter imports Kubernetes data based on a specific configuration into entities with a suffix defined by you (default: kubernetes). To view the imported instances in Versio.io, select 'Asset & Configuration Repository → Instance Viewer'. There you can select your specific instance and click it for a detailed view in the instance history viewer.

The following image is an example of imported Kubernetes data:

Versio.io Kubernetes instance overview
Figure: Overview of Versio.io Kubernetes instance (left) and topology of related instances (right)

Reference