About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
MeterDefinition/v1beta1
MeterDefinition defines the meter workloads used to enable pay for use billing.
apiVersion
Description: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Type: string
Property | Type | Description |
---|---|---|
apiVersion | string | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
kind
Description: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Type: string
Property | Type | Description |
---|---|---|
kind | string | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
metadata
Description: (No Description)
Type: object
Property | Type | Description |
---|---|---|
metadata | object | (No Description) |
spec
Description: MeterDefinitionSpec defines the desired metering spec
Type: object
Property | Type | Description |
---|---|---|
spec | object | MeterDefinitionSpec defines the desired metering spec |
spec.group | string | Group defines the operator group of the meter |
spec.installedBy | object | InstalledBy is a reference to the CSV that install the meter definition. This is used to determine an operator group. |
spec.installedBy.groupVersionKind | object | GroupVersionKind of the resource |
spec.installedBy.groupVersionKind.apiVersion | string | APIVersion of the CRD |
spec.installedBy.groupVersionKind.kind | string | Kind of the CRD |
spec.installedBy.name | string | Name of the resource Required |
spec.installedBy.namespace | string | Namespace of the resource Required |
spec.installedBy.uid | string | Namespace of the resource |
spec.kind | string | Kind defines the primary CRD kind of the meter |
spec.meters | array | Meters are the definitions related to the metrics that you would like to monitor. |
spec.resourceFilters | array | ResourceFilters provide filters that will be used to find the workload objects. This is to find the exact resources the query is interested in. At least one must be provided. |
status
Description: MeterDefinitionStatus defines the observed state of MeterDefinition
Type: object
Property | Type | Description |
---|---|---|
status | object | MeterDefinitionStatus defines the observed state of MeterDefinition |
status.conditions | array | Conditions represent the latest available observations of an object’s state |
status.results | array | Results is a list of Results that get returned from a query to prometheus |
status.workloadResource | array | WorkloadResources is the list of resources discovered by this meter definition |