Skip to content

compspec/compspec-kubernetes

Repository files navigation

Compspec Kubernetes

PyPI version

A compspec (Composition spec) is a specification and model for comparing things. Compspec kubernetes is a plugin for extraction of Kubernetes as a containment subsystem, which means verices (cluster, racks, nodes, sockets, cores, etc) and edges between them that describe relationships (e.g., "contains"). To learn more:

  • Compspec: the Python library that discovers and loads this plugin.

Usage

Install compspec and the plugin here:

pip install compspec
pip install compspec-kubernetes

Since Kubernetes clusters are ephemeral, it doesn't make sense to save metadata for them in the compspec home. Thus, this is a virtual plugin that, when installed, will programatically discover them on the fly. This means (for the time being) a query is more expensive, but it's OK for this research use case.

compspec extract kubernetes

You can see the example example/kubernetes-subsystem.json.

License

HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.

See LICENSE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

About

Plugin extractor for Kubernetes containment subsystem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published