jetstack / kube-lego

DEPRECATED: Automatically request certificates for Kubernetes Ingress resources from Let's Encrypt
Apache License 2.0
2.16k stars 267 forks source link

Troubleshooting help #242

Closed naveeng68 closed 7 years ago

naveeng68 commented 7 years ago

I have following attached file (changed extension from yams to txt).

ingress-tls.txt 00-namespace.txt deployment.txt service.txt

when I run kubectl apply -f . Its successful created, But not able to see/create secret in kubernetes dashboard. getting below error:

W0815 19:03:45.443261 6 backend_ssl.go:46] error obtaining PEM from secret echoserver/test-services-tls: secret named echoserver/test-services-tls does not exist 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:46 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.001 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.001 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:47 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.001 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.001 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:48 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.001 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.001 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:49 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.002 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.002 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:50 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.002 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.002 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:51 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.001 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.001 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:52 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.002 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.002 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:53 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.002 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.002 200 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:54 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.001 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.001 200 W0815 19:03:55.445642 6 backend_ssl.go:46] error obtaining PEM from secret echoserver/test-services-tls: secret named echoserver/test-services-tls does not exist 54.187.202.171 - [54.187.202.171] - - [15/Aug/2017:19:03:56 +0000] "GET /.well-known/acme-challenge/_selftest HTTP/1.1" 200 16 "-" "Go-http-client/1.1" 149 0.001 [kube-lego-kube-lego-nginx-8080] 100.96.5.11:8080 16 0.001 200


Please help me resolve it. 1: Is any connection between namespace and TLS-secret name (it should be same name?) 2:how many secret(tls) we can create.

please do needful ASAP.

naveeng68 commented 7 years ago

I think we got root cause mean time we are closing it,