I have successfully sat up the cluster on bare metal. I can access jhub and login via Oauth. I can start/stop notebooks. The domain is registered and accessible via DNS.
Everything is working fine. Only the problem I am having is with kubelego : it is not getting new certificates - all i am getting is following messages from kubelego container:
time=“2019-02-25T06:13:28Z” level=warning msg=“authorization failed after 5m0s: reachability test failed: wrong status code ‘404’” context=acme domain=<my.jhub.domain>
time=“2019-02-25T06:13:28Z” level=error msg=“Error while processing certificate requests: no domain could be authorized successfully” context=kubelego
time=“2019-02-25T06:13:28Z” level=error msg=“worker: error processing item, requeuing after rate limit: no domain could be authorized successfully” context=kubelego
My configuration look like below:
proxy: secretToken: "xxxxxxxxxxxxxxxxxxxxxxxxxxx" service: type: NodePort nodePorts: http: 30080 https: 30443 https: hosts: - my.jhub.domain enabled: true type: letsencrypt letsencrypt: contactEmail: 'firstname.lastname@example.org' lego: image: name: jetstack/kube-lego tag: 0.1.6 pullPolicy: IfNotPresent
Thanks in advance !!