-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sriov-network-metrics-exporter fails to deploy #766
Comments
I realised the error about missing secret |
Hi @ianb-mp, ATM metrics are exported via a Regarding the error:
I confirm it is a bug, will look for a fix |
When using a node selector with boolean values, e.g.: ``` apiVersion: sriovnetwork.openshift.io/v1 kind: SriovOperatorConfig metadata: name: default spec: configDaemonNodeSelector: feature.node.kubernetes.io/network-sriov.capable: "true" ``` the value needs to be quoted before forwarding it to the metrics-exporter node selector field. Fixes k8snetworkplumbingwg#766 Signed-off-by: Andrea Panattoni <[email protected]>
When using a node selector with boolean values, e.g.: ``` apiVersion: sriovnetwork.openshift.io/v1 kind: SriovOperatorConfig metadata: name: default spec: configDaemonNodeSelector: feature.node.kubernetes.io/network-sriov.capable: "true" ``` the value needs to be quoted before forwarding it to the metrics-exporter node selector field. Fixes k8snetworkplumbingwg#766 Signed-off-by: Andrea Panattoni <[email protected]>
When using a node selector with boolean values, e.g.: ``` apiVersion: sriovnetwork.openshift.io/v1 kind: SriovOperatorConfig metadata: name: default spec: configDaemonNodeSelector: feature.node.kubernetes.io/network-sriov.capable: "true" ``` the value needs to be quoted before forwarding it to the metrics-exporter node selector field. Fixes k8snetworkplumbingwg#766 Signed-off-by: Andrea Panattoni <[email protected]>
According to this comment:
Rather than failing to deploy, generating a self-signed cert seems like a better default. |
I've enabled the new
featureGate
formetricsExporter
(#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
The text was updated successfully, but these errors were encountered: