Hi Team,

My prometheus deployment is hanging when I enable admission.webhook i am 
getting below error.

kubectl logs -f prometheus-operator-admission-create-fpxfj -n 
ns-prometheus-ops-mgmt
W0624 05:45:59.145519       1 client_config.go:548] Neither --kubeconfig 
nor --master was specified.  Using the inClusterConfig.  This might not 
work.
log: exiting because of error: log: cannot create log: open 
/tmp/kube-webhook-certgen.prometheus-operator-admission-create-fpxfj.unknownuser.log.WARNING.20200624-054559.1:
 
permission denied

I have permission of /tmp to create files.

I can able to deploy disabling it and also I have disable total  two 
parameter to deploy successfully.

--set prometheusOperator.admissionWebhooks.enabled=false --set 
prometheusOperator.tlsProxy.enabled=false ( it seems it has dependency with 
admissionWebhooks)

helm install prometheus-operator . -f values-custom.yaml -n 
ns-prometheus-ops-mgmt --set 
prometheusOperator.admissionWebhooks.enabled=false --set 
prometheusOperator.tlsProxy.enabled=false

I would like to request if there is any solution for the same as I have to 
enable admission.webhook because for rule syntax checking.

Thanks & Regards
Nabarun Sen

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/31df2088-d4d7-4dcd-a881-737d5da44007o%40googlegroups.com.

Reply via email to