Utils for COS Lite charms


Keywords
juju, kubernetes, libs, machine, observability
License
Apache-2.0
Install
pip install cosl==0.0.11

Documentation

Observability Libs

Release Discourse Status

Description

Observability Libs is a placeholder charm that is used to provide a home for charm libraries that are used for the development of charms deployed as part of the COS Lite bundle.

Usage

While it is possible to deploy this charm, it is only a tester charm and is intended to be deployed only for testing purposes.

charmcraft pack
juju deploy ./observability-libs_ubuntu-20.04-amd64.charm \
  --resource placeholder-image=busybox

Where this charm should be used, is to access one of the following libraries during development:

  • KubernetesServicePatch - a small library used to patch the Juju auto-created Kubernetes Service during the deployment of a sidecar charm to contain the correct ports for an application.

  • KubernetesComputeResourcesPatch - a small library used to patch the Juju auto-created statefulset with custom resource limits.

  • JujuTopology - Used to create and output Juju topologies either from charms, relation data, or parts.

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.