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

PropertyTypeDescription
apiVersionstringAPIVersion 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

PropertyTypeDescription
kindstringKind 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

PropertyTypeDescription
metadataobject(No Description)

spec

Description: MeterReportSpec defines the desired state of MeterReport

Type: object

PropertyTypeDescription
specobjectMeterReportSpec defines the desired state of MeterReport
spec.endTimestringEndTime of the job
spec.extraJobArgsarrayExtraArgs is a set of arguments to pass to the job
spec.labelSelectorobjectLabelSelectors are used to filter to the correct workload. DEPRECATED
spec.labelSelector.matchExpressionsarraymatchExpressions is a list of label selector requirements. The requirements are ANDed.
spec.labelSelector.matchLabelsobjectmatchLabels 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.meterDefinitionReferencesarrayMeterDefinitionReferences are used as the first meter definition source. Prometheus data is used to supplement.
spec.meterDefinitionsarrayMeterDefinitions is the list of meterDefinitions included in the report DEPRECATED
spec.prometheusServiceobjectPrometheusService is the definition for the service labels. DEPRECATED
spec.prometheusService.basicAuthobjectBasicAuth allow an endpoint to authenticate over basic authentication Optional
spec.prometheusService.basicAuth.caobjectStruct containing the CA cert to use for the targets.
spec.prometheusService.basicAuth.ca.configMapobjectConfigMap containing data to use for the targets.
spec.prometheusService.basicAuth.ca.configMap.keystringThe key to select.
spec.prometheusService.basicAuth.ca.configMap.namestringName 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.optionalbooleanSpecify whether the ConfigMap or its key must be defined
spec.prometheusService.basicAuth.ca.secretobjectSecret containing data to use for the targets.
spec.prometheusService.basicAuth.ca.secret.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.basicAuth.ca.secret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.basicAuth.caFilestringPath to the CA cert in the Prometheus container to use for the targets.
spec.prometheusService.basicAuth.certobjectStruct containing the client cert file for the targets.
spec.prometheusService.basicAuth.cert.configMapobjectConfigMap containing data to use for the targets.
spec.prometheusService.basicAuth.cert.configMap.keystringThe key to select.
spec.prometheusService.basicAuth.cert.configMap.namestringName 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.optionalbooleanSpecify whether the ConfigMap or its key must be defined
spec.prometheusService.basicAuth.cert.secretobjectSecret containing data to use for the targets.
spec.prometheusService.basicAuth.cert.secret.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.basicAuth.cert.secret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.basicAuth.certFilestringPath to the client cert file in the Prometheus container for the targets.
spec.prometheusService.basicAuth.insecureSkipVerifybooleanDisable target certificate validation.
spec.prometheusService.basicAuth.keyFilestringPath to the client key file in the Prometheus container for the targets.
spec.prometheusService.basicAuth.keySecretobjectSecret containing the client key file for the targets.
spec.prometheusService.basicAuth.keySecret.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.basicAuth.keySecret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.basicAuth.serverNamestringUsed to verify the hostname for the targets.
spec.prometheusService.bearerTokenFilestringFile to read bearer token for scraping targets.
spec.prometheusService.bearerTokenSecretobjectSecret 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.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.bearerTokenSecret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.namestringName of the job Required
spec.prometheusService.namespacestringNamespace of the job Required
spec.prometheusService.targetPort(No Type)Port name is the name of the part to select Required
spec.prometheusService.tlsConfigobjectTLS configuration to use when scraping the endpoint Optional
spec.prometheusService.tlsConfig.caobjectStruct containing the CA cert to use for the targets.
spec.prometheusService.tlsConfig.ca.configMapobjectConfigMap containing data to use for the targets.
spec.prometheusService.tlsConfig.ca.configMap.keystringThe key to select.
spec.prometheusService.tlsConfig.ca.configMap.namestringName 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.optionalbooleanSpecify whether the ConfigMap or its key must be defined
spec.prometheusService.tlsConfig.ca.secretobjectSecret containing data to use for the targets.
spec.prometheusService.tlsConfig.ca.secret.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.tlsConfig.ca.secret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.tlsConfig.caFilestringPath to the CA cert in the Prometheus container to use for the targets.
spec.prometheusService.tlsConfig.certobjectStruct containing the client cert file for the targets.
spec.prometheusService.tlsConfig.cert.configMapobjectConfigMap containing data to use for the targets.
spec.prometheusService.tlsConfig.cert.configMap.keystringThe key to select.
spec.prometheusService.tlsConfig.cert.configMap.namestringName 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.optionalbooleanSpecify whether the ConfigMap or its key must be defined
spec.prometheusService.tlsConfig.cert.secretobjectSecret containing data to use for the targets.
spec.prometheusService.tlsConfig.cert.secret.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.tlsConfig.cert.secret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.tlsConfig.certFilestringPath to the client cert file in the Prometheus container for the targets.
spec.prometheusService.tlsConfig.insecureSkipVerifybooleanDisable target certificate validation.
spec.prometheusService.tlsConfig.keyFilestringPath to the client key file in the Prometheus container for the targets.
spec.prometheusService.tlsConfig.keySecretobjectSecret containing the client key file for the targets.
spec.prometheusService.tlsConfig.keySecret.keystringThe key of the secret to select from. Must be a valid secret key.
spec.prometheusService.tlsConfig.keySecret.namestringName 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.optionalbooleanSpecify whether the Secret or its key must be defined
spec.prometheusService.tlsConfig.serverNamestringUsed to verify the hostname for the targets.
spec.reportUUIDstringReportUUID is the generated ID for the report.
spec.startTimestringStartTime of the job

status

Description: MeterReportStatus defines the observed state of MeterReport

Type: object

PropertyTypeDescription
statusobjectMeterReportStatus defines the observed state of MeterReport
status.conditionsarrayConditions represent the latest available observations of an object’s stateonfig
status.dataServiceStatusobjectDataServiceStatus is the status of the report stored in data service
status.dataServiceStatus.errorstringError is present if an error occurred on upload
status.dataServiceStatus.idstringID is the upload id
status.dataServiceStatus.statusstringStatus is the current status
status.dataServiceStatus.targetstringTarget is the upload target
status.errorsarrayErrors shows if there were any errors from queries for the report.
status.jobReferenceobjectA list of pointers to currently running jobs. DEPRECATED
status.jobReference.activeintegerThe number of actively running pods.
status.jobReference.backoffLimitintegerSpecifies the number of retries before marking this job failed. Defaults to 6
status.jobReference.completionTimestringRepresents 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.failedintegerThe number of pods which reached phase Failed.
status.jobReference.jobFailedbooleanJobFailed is the boolean value set if the job failed
status.jobReference.jobSuccessbooleanJobSuccess is the boolean value set if the job succeeded
status.jobReference.namestringName of the job Required
status.jobReference.namespacestringNamespace of the job Required
status.jobReference.startTimestringRepresents 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.succeededintegerThe number of pods which reached phase Succeeded.
status.metricUploadCountintegerMetricUploadCount is the number of metrics in the report
status.uploadAttemptsintegerUploadAttempts track the number of times a file has failed due to unrecoverable errors
status.uploadStatusarrayUploadStatus displays the last status for upload targets.
status.uploadUIDstringUploadID is the ID associated with the upload
status.warningsarrayWarnings from the job
status.workloadCountintegerWorkloadCount is the number of workloads reported on