Open jicki opened 2 years ago
Environment
Prometheus Operator version: v0.56.2
Kubernetes version information: v1.17.6
Kubernetes cluster kind: v1.17.6
kube-apiserver Logs:
E0530 02:13:37.748064 1 customresource_handler.go:655] error building openapi models for thanosrulers.monitoring.coreos.com: ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.env.items.<array>.properties.valueFrom.properties.resourceFieldRef.properties.divisor has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.lifecycle.properties.postStart.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.lifecycle.properties.postStart.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.lifecycle.properties.preStop.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.lifecycle.properties.preStop.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.livenessProbe.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.livenessProbe.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.readinessProbe.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.readinessProbe.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.startupProbe.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.containers.items.<array>.properties.startupProbe.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.env.items.<array>.properties.valueFrom.properties.resourceFieldRef.properties.divisor has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.lifecycle.properties.postStart.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.lifecycle.properties.postStart.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.lifecycle.properties.preStop.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.lifecycle.properties.preStop.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.livenessProbe.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.livenessProbe.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.readinessProbe.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.readinessProbe.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.startupProbe.properties.httpGet.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.initContainers.items.<array>.properties.startupProbe.properties.tcpSocket.properties.port has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.emptyDir.properties.sizeLimit has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.ephemeral.properties.volumeClaimTemplate.properties.spec.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.ephemeral.properties.volumeClaimTemplate.properties.spec.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.volumeClaimTemplate.properties.spec.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.volumeClaimTemplate.properties.spec.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.volumeClaimTemplate.properties.status.properties.allocatedResources.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.storage.properties.volumeClaimTemplate.properties.status.properties.capacity.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.volumes.items.<array>.properties.downwardAPI.properties.items.items.<array>.properties.resourceFieldRef.properties.divisor has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.volumes.items.<array>.properties.emptyDir.properties.sizeLimit has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.volumes.items.<array>.properties.ephemeral.properties.volumeClaimTemplate.properties.spec.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.volumes.items.<array>.properties.ephemeral.properties.volumeClaimTemplate.properties.spec.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf ERROR $root.definitions.com.coreos.monitoring.v1.ThanosRuler.properties.spec.properties.volumes.items.<array>.properties.projected.properties.sources.items.<array>.properties.downwardAPI.properties.items.items.<array>.properties.resourceFieldRef.properties.divisor has invalid property: anyOf
Kubernetes v1.17.6 is not supported as per https://github.com/prometheus-operator/kube-prometheus#compatibility
Environment
Prometheus Operator version: v0.56.2
Kubernetes version information: v1.17.6
Kubernetes cluster kind: v1.17.6
kube-apiserver Logs: