When using the ingress exposure service, kubectl apply -f ingress.yaml reports the following error.
Reported error:
Error from server (InternalError): error when creating “ingress.yaml”: Internal error occurred: failed calling webhook “validate.nginx.ingress.kubernetes.io”: failed to call webhook: Post “https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s”: x509: certificate has expired or is not yet valid: current time 2022-03-26T14:45:34Z is before 2022-03-26T20:16:32Z
Solution:
Check kubectl apply -f ingress.yaml
kubectl get validatingwebhookconfigurations
Delete ingress-nginx-admission
kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission
Then execute
kubectl apply -f ingress.yaml
Read More:
- [Solved] Internal error occurred: failed calling webhook “validate.nginx.ingress.kubernetes.io”:
- [Solved] Kubernetes ingress-srv. error: failed calling webhook “validate.nginx.ingress.kubernetes.io”
- Kubernetes create secret Error: Error from server (InternalError): Internal error occurred…
- error: error validating “ingress-tomcat6.yaml“: error validating data: [ValidationError(Ingress.spec
- k8s kubernetes ingress error: endpoints “default-http-backend“ not found
- kubernetes Error from server (AlreadyExists): error when creating “kubernetes-dashboard.yaml”: serv
- [Solved] Rancher Add User Error: x509: certificate has expired Internal error occurred: failed calling webhook “rancherauth.cattle.io”:
- [Solved] Error from server (InternalError): an error on the server (““) has prevented the request from suc
- IIS 404 The page cannot be displayed because an internal server error has occurred
- Yaml is installed, and the error YAMLLoadWarning is reported as soon as the code runs: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.
- EsgynDB Troubleshooting-ERROR[8837] Internal error occurred.
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- [Solved] Redis Error: Creating Server TCP listening socket *:6379: bind: No error
- [vite] Internal server error:options.devServer.transformWidthEsBuild is not a function…
- [Solved] Redis startup error Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
- django Internal server error 500 Modify source code to view print errors
- An error occurred: Sorry,Faithfully yours, nginx Error
- How to Solve Internal Server Error: /swagger/v1/swagger.json
- Internalerror: GPU sync failed error (How to Solve)
- [Solved] Redis Error: creating server tcp listening socket 127.0.0.1:6379: bind No error