Creating secret Error:
# kubectl create secret generic thanos-objectstorage –from-file=objstore.yaml -n monitoring
Error Messages:
Error from server (InternalError): Internal error occurred: failed calling webhook “rancher.cattle.io”: Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/mutation?timeout=10s: service “rancher-webhook” not found
According to the error report, it may be a problem with rbac, which cannot create
# kubectl get mutatingwebhookconfigurations
NAME WEBHOOKS AGE
mutating-webhook-configuration 7 156d
rancher.cattle.io 2 156d
# kubectl get validatingwebhookconfigurations
NAME WEBHOOKS AGE
rancher.cattle.io 2 156d
validating-webhook-configuration 7 156d
There are two admission controllers found in the view, both of which are leftover from the previous installation of components
Just Delete it
# kubectl delete mutatingwebhookconfigurations mutating-webhook-configuration
mutatingwebhookconfiguration.admissionregistration.k8s.io "mutating-webhook-configuration" deleted
# kubectl delete mutatingwebhookconfigurations rancher.cattle.io
mutatingwebhookconfiguration.admissionregistration.k8s.io "rancher.cattle.io" deleted
# kubectl delete validatingwebhookconfigurations rancher.cattle.io
validatingwebhookconfiguration.admissionregistration.k8s.io "rancher.cattle.io" deleted
# kubectl delete validatingwebhookconfigurations validating-webhook-configuration
validatingwebhookconfiguration.admissionregistration.k8s.io "validating-webhook-configuration" deleted
Read More:
- [Solved] Error from server (InternalError): error when creating “ingress.yaml”: Internal error occurred: fail
- [Solved] Internal error occurred: failed calling webhook “validate.nginx.ingress.kubernetes.io”:
- [Solved] Rancher Add User Error: x509: certificate has expired Internal error occurred: failed calling webhook “rancherauth.cattle.io”:
- [Solved] Kubernetes Error: failed to list *core.Secret: unable to transform key
- kubernetes Error from server (AlreadyExists): error when creating “kubernetes-dashboard.yaml”: serv
- [Solved] Kubernetes ingress-srv. error: failed calling webhook “validate.nginx.ingress.kubernetes.io”
- IIS 404 The page cannot be displayed because an internal server error has occurred
- [Solved] Error from server (InternalError): an error on the server (““) has prevented the request from suc
- [Solved] Error: Could not get apiVersions from Kubernetes
- Error reporting and resolution of kubernetes installation
- EsgynDB Troubleshooting-ERROR[8837] Internal error occurred.
- [Solved] Eclipse Connect Hadoop error: /An internal error occurred during: “Map/Reduce location status updater“
- k8s kubernetes ingress error: endpoints “default-http-backend“ not found
- jmeter Execute to create Chart Error: An error occurred: Error while processing samples: Mismatch between ……
- [Solved] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- django Internal server error 500 Modify source code to view print errors
- [vite] Internal server error:options.devServer.transformWidthEsBuild is not a function…
- [Solved] ArcGIS Error: Failed to create the site. One or more server machines could not be stopped
- Kubernetes reported an error: matchexpressions: [] v1. Labelselector requirement (NIL)}: field is immutable