Closed ianb-mp closed 2 months ago
I realised the error about missing secret metrics-exporter-cert
is due to the operator referencing that by default here.
Is it mandatory to supply a certificate in this way? (I don't recall needing to do anything with certs when deploying metrics exporter using upstream repo's manifest directly)
Hi @ianb-mp, ATM metrics are exported via a kube-rbac-proxy
only through HTTPS. If you are interested in making this optional and having the metrics available through plain HTTP, I can bring this topic to the next community meeting.
Regarding the error:
json: cannot unmarshal bool into Go struct field PodSpec.spec.template.spec.nodeSelector of type string"}
I confirm it is a bug, will look for a fix
I've enabled the new
featureGate
formetricsExporter
(https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/655) however I see error in the operator log:DaemonSet in version \"v1\" cannot be handled as a DaemonSet: json: cannot unmarshal bool into Go struct field PodSpec.spec.template.spec.nodeSelector of type string"}
- full error:SriovOperatorConfig
is:If I modify the node selector so the value is something other than
"true"
then the error goes away:However, I notice the
sriov-network-metrics-exporter
pod fails to start with error:fyi @zeeke