Chance Zibolski 5c3bedc3e4 openshift-metering: Update role to use new metering CRD group and schemas and images helm operator image 6 yıl önce
..
defaults 6ac1984461 openshift_metering: Add options to use RDS & S3 integrations 6 yıl önce
files 5c3bedc3e4 openshift-metering: Update role to use new metering CRD group and schemas and images helm operator image 6 yıl önce
meta 6ac1984461 openshift_metering: Add options to use RDS & S3 integrations 6 yıl önce
tasks 5c3bedc3e4 openshift-metering: Update role to use new metering CRD group and schemas and images helm operator image 6 yıl önce
vars c9d2f8ee36 Add openshift_metering role and playbook 6 yıl önce
README.md 5c3bedc3e4 openshift-metering: Update role to use new metering CRD group and schemas and images helm operator image 6 yıl önce

README.md

OpenShift Metering

This role installs the OpenShift Metering, which supports metering operators and applications in Kubernetes and producing reports on this metered information.

NOTE: This component is unsupported in OCP at this time.

Installation

To install Openshift Metering, include the install.yml taskfile from your playbook, to uninstall use the uninstall.yml taskfile from your playbook.

Configuration

The metering operator comes with a default no-op Metering configuration. To supply additional configuration options set the openshift_metering_config variable to a dictionary containing the contents of the Metering spec field you wish to set.

For example:

openshift_metering_config:
  reporting-operator:
    spec:
      config:
        awsAccessKeyID: "REPLACEME"

Updating the operator itself to a custom image can be done by setting openshift_metering_operator_image to a docker image and tag that should be used.

For example:

openshift_metering_operator_image: quay.io/coreos/metering-helm-operator:latest

Using a custom project/namespace can be done by specifying __openshift_metering_namespace.

For a full list of variables, and descriptions of what they do see the defaults/main.yml variables file.

License

Apache License, Version 2.0