MeterReport/v1alpha1
MeterReport is the Schema for the meterreports API
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: MeterReportSpec defines the desired state of MeterReport
Type: object
Property | Type | Description |
---|---|---|
spec | object | MeterReportSpec defines the desired state of MeterReport |
spec.endTime | string | EndTime of the job |
spec.extraJobArgs | array | ExtraArgs is a set of arguments to pass to the job |
spec.labelSelector | object | LabelSelectors are used to filter to the correct workload. DEPRECATED |
spec.labelSelector.matchExpressions | array | matchExpressions is a list of label selector requirements. The requirements are ANDed. |
spec.labelSelector.matchLabels | object | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is “key”, the operator is “In”, and the values array contains only “value”. The requirements are ANDed. |
spec.meterDefinitionReferences | array | MeterDefinitionReferences are used as the first meter definition source. Prometheus data is used to supplement. |
spec.meterDefinitions | array | MeterDefinitions is the list of meterDefinitions included in the report DEPRECATED |
spec.prometheusService | object | PrometheusService is the definition for the service labels. DEPRECATED |
spec.prometheusService.basicAuth | object | BasicAuth allow an endpoint to authenticate over basic authentication Optional |
spec.prometheusService.basicAuth.ca | object | Struct containing the CA cert to use for the targets. |
spec.prometheusService.basicAuth.ca.configMap | object | ConfigMap containing data to use for the targets. |
spec.prometheusService.basicAuth.ca.configMap.key | string | The key to select. |
spec.prometheusService.basicAuth.ca.configMap.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.basicAuth.ca.configMap.optional | boolean | Specify whether the ConfigMap or its key must be defined |
spec.prometheusService.basicAuth.ca.secret | object | Secret containing data to use for the targets. |
spec.prometheusService.basicAuth.ca.secret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.basicAuth.ca.secret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.basicAuth.ca.secret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.basicAuth.caFile | string | Path to the CA cert in the Prometheus container to use for the targets. |
spec.prometheusService.basicAuth.cert | object | Struct containing the client cert file for the targets. |
spec.prometheusService.basicAuth.cert.configMap | object | ConfigMap containing data to use for the targets. |
spec.prometheusService.basicAuth.cert.configMap.key | string | The key to select. |
spec.prometheusService.basicAuth.cert.configMap.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.basicAuth.cert.configMap.optional | boolean | Specify whether the ConfigMap or its key must be defined |
spec.prometheusService.basicAuth.cert.secret | object | Secret containing data to use for the targets. |
spec.prometheusService.basicAuth.cert.secret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.basicAuth.cert.secret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.basicAuth.cert.secret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.basicAuth.certFile | string | Path to the client cert file in the Prometheus container for the targets. |
spec.prometheusService.basicAuth.insecureSkipVerify | boolean | Disable target certificate validation. |
spec.prometheusService.basicAuth.keyFile | string | Path to the client key file in the Prometheus container for the targets. |
spec.prometheusService.basicAuth.keySecret | object | Secret containing the client key file for the targets. |
spec.prometheusService.basicAuth.keySecret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.basicAuth.keySecret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.basicAuth.keySecret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.basicAuth.serverName | string | Used to verify the hostname for the targets. |
spec.prometheusService.bearerTokenFile | string | File to read bearer token for scraping targets. |
spec.prometheusService.bearerTokenSecret | object | Secret to mount to read bearer token for scraping targets. The secret needs to be in the same namespace as the service monitor and accessible by the Prometheus Operator. |
spec.prometheusService.bearerTokenSecret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.bearerTokenSecret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.bearerTokenSecret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.name | string | Name of the job Required |
spec.prometheusService.namespace | string | Namespace of the job Required |
spec.prometheusService.targetPort | (No Type) | Port name is the name of the part to select Required |
spec.prometheusService.tlsConfig | object | TLS configuration to use when scraping the endpoint Optional |
spec.prometheusService.tlsConfig.ca | object | Struct containing the CA cert to use for the targets. |
spec.prometheusService.tlsConfig.ca.configMap | object | ConfigMap containing data to use for the targets. |
spec.prometheusService.tlsConfig.ca.configMap.key | string | The key to select. |
spec.prometheusService.tlsConfig.ca.configMap.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.tlsConfig.ca.configMap.optional | boolean | Specify whether the ConfigMap or its key must be defined |
spec.prometheusService.tlsConfig.ca.secret | object | Secret containing data to use for the targets. |
spec.prometheusService.tlsConfig.ca.secret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.tlsConfig.ca.secret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.tlsConfig.ca.secret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.tlsConfig.caFile | string | Path to the CA cert in the Prometheus container to use for the targets. |
spec.prometheusService.tlsConfig.cert | object | Struct containing the client cert file for the targets. |
spec.prometheusService.tlsConfig.cert.configMap | object | ConfigMap containing data to use for the targets. |
spec.prometheusService.tlsConfig.cert.configMap.key | string | The key to select. |
spec.prometheusService.tlsConfig.cert.configMap.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.tlsConfig.cert.configMap.optional | boolean | Specify whether the ConfigMap or its key must be defined |
spec.prometheusService.tlsConfig.cert.secret | object | Secret containing data to use for the targets. |
spec.prometheusService.tlsConfig.cert.secret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.tlsConfig.cert.secret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.tlsConfig.cert.secret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.tlsConfig.certFile | string | Path to the client cert file in the Prometheus container for the targets. |
spec.prometheusService.tlsConfig.insecureSkipVerify | boolean | Disable target certificate validation. |
spec.prometheusService.tlsConfig.keyFile | string | Path to the client key file in the Prometheus container for the targets. |
spec.prometheusService.tlsConfig.keySecret | object | Secret containing the client key file for the targets. |
spec.prometheusService.tlsConfig.keySecret.key | string | The key of the secret to select from. Must be a valid secret key. |
spec.prometheusService.tlsConfig.keySecret.name | string | Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid? |
spec.prometheusService.tlsConfig.keySecret.optional | boolean | Specify whether the Secret or its key must be defined |
spec.prometheusService.tlsConfig.serverName | string | Used to verify the hostname for the targets. |
spec.reportUUID | string | ReportUUID is the generated ID for the report. |
spec.startTime | string | StartTime of the job |
status
Description: MeterReportStatus defines the observed state of MeterReport
Type: object
Property | Type | Description |
---|---|---|
status | object | MeterReportStatus defines the observed state of MeterReport |
status.conditions | array | Conditions represent the latest available observations of an object’s stateonfig |
status.dataServiceStatus | object | DataServiceStatus is the status of the report stored in data service |
status.dataServiceStatus.error | string | Error is present if an error occurred on upload |
status.dataServiceStatus.id | string | ID is the upload id |
status.dataServiceStatus.status | string | Status is the current status |
status.dataServiceStatus.target | string | Target is the upload target |
status.errors | array | Errors shows if there were any errors from queries for the report. |
status.jobReference | object | A list of pointers to currently running jobs. DEPRECATED |
status.jobReference.active | integer | The number of actively running pods. |
status.jobReference.backoffLimit | integer | Specifies the number of retries before marking this job failed. Defaults to 6 |
status.jobReference.completionTime | string | Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. |
status.jobReference.failed | integer | The number of pods which reached phase Failed. |
status.jobReference.jobFailed | boolean | JobFailed is the boolean value set if the job failed |
status.jobReference.jobSuccess | boolean | JobSuccess is the boolean value set if the job succeeded |
status.jobReference.name | string | Name of the job Required |
status.jobReference.namespace | string | Namespace of the job Required |
status.jobReference.startTime | string | Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. |
status.jobReference.succeeded | integer | The number of pods which reached phase Succeeded. |
status.metricUploadCount | integer | MetricUploadCount is the number of metrics in the report |
status.uploadAttempts | integer | UploadAttempts track the number of times a file has failed due to unrecoverable errors |
status.uploadStatus | array | UploadStatus displays the last status for upload targets. |
status.uploadUID | string | UploadID is the ID associated with the upload |
status.warnings | array | Warnings from the job |
status.workloadCount | integer | WorkloadCount is the number of workloads reported on |