Hi Team,
I have tried upgrading to v1.6.7 in one of our cluster, but was not successful. After init command the check-ready was throwing error:
[rons@BLRDEVADMWS1 hybrid-files]# $APIGEECTL_HOME/apigeectl check-ready -f overrides/overrides.yaml
Parsing file: config/values.yaml
Parsing file: overrides/overrides.yaml
Error: ready check failed: error executing 'kubectl -n apigee get apigeetelemetry apigee-telemetry' command: exit status 1
Upon checking apiserver logs I could see below:
[rons@BLRDEVADMWS1 ~]# k logs kube-apiserver-blrdevuc1cp03 -n kube-system --tail=100
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.autoScaler.properties.metrics.items.<array>.properties.pods.properties.target.properties.averageValue has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.autoScaler.properties.metrics.items.<array>.properties.pods.properties.target.properties.value has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.autoScaler.properties.metrics.items.<array>.properties.resource.properties.target.properties.averageValue has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.autoScaler.properties.metrics.items.<array>.properties.resource.properties.target.properties.value has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.env.items.<array>.properties.valueFrom.properties.resourceFieldRef.properties.divisor has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.livenessProbe.properties.httpGet.properties.port has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.livenessProbe.properties.tcpSocket.properties.port has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.readinessProbe.properties.httpGet.properties.port has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.readinessProbe.properties.tcpSocket.properties.port has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.containers.items.<array>.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf
ERROR $root.definitions.com.google.cloud.apigee.v1alpha2.ApigeeTelemetry.properties.spec.properties.components.properties.containerOSLogs.properties.initContainers.items.<array>.properties.env.items.<array>.properties.valueFrom.properties.resourceFieldRef.properties.divisor has invalid property: anyOf
Looks like the k8s apiserver is unable to understand the crds created by Apigee.
[rons@BLRDEVADMWS1 ~]# kubectl get apigeetelemetries -n apigee
Unable to connect to the server: stream error: stream ID 1; INTERNAL_ERROR
We are on Anthos baremetal version 1.7.4 and is supported as per https://cloud.google.com/apigee/docs/hybrid/supported-platforms#supported-platforms for Apigee Hybrid v1.6.x
What could be preventing k8s from understanding the crds? Or is it something else?
Thanks,
Ronson
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |