Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

certmanager seems to be broke somehow #92

Closed
tibers opened this issue Feb 5, 2019 · 4 comments
Closed

certmanager seems to be broke somehow #92

tibers opened this issue Feb 5, 2019 · 4 comments

Comments

@tibers
Copy link

tibers commented Feb 5, 2019

Describe the bug

Error: UPGRADE FAILED: Internal error occurred: failed calling admission webhook "issuers.admission.certmanager.k8s.io": the server is currently unable to handle the request

To Reproduce

tk8 cluster install aws
tk8 addon install rancher

Expected behavior

Rancher should Just Work.

Additional Information

I don't even understand how cert-manager is in play here since it's not in the main.yaml.

A quick google implies to me that the cert-manager CRDs might have to be installed first which is absent from the main.yaml but I'm not sure if this is a rancher problem or a tk8 problem: cert-manager/cert-manager#1149

@arashkaffamanesh
Copy link
Member

arashkaffamanesh commented Feb 5, 2019

Just tried on one bare-metal rancher kubernetes engine and another k8s cluster running on OpenStack, it works. I had to run tk8 addon install rancher twice.
As you mentioned we don't have cert-manager in the main.yaml.
But cert-manager was already installed on the clusters.

Another way is to use helm to install cert-manager first and then Rancher on any K8s cluster:

helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm install stable/cert-manager   --name cert-manager   --namespace kube-system
kubectl -n kube-system rollout status deploy/cert-manager

helm install rancher-stable/rancher \ 
--name rancher \  
--namespace cattle-system \  
--set hostname=rancher.kubernauts.io \  
--set ingress.tls.source=letsEncrypt \  
--set letsEncrypt.email=xyz@kubernauts.io

@arashkaffamanesh
Copy link
Member

If using the tk8 addon for rancher, tk8 shall take care about installing cert-manager in advance!

@tibers
Copy link
Author

tibers commented Feb 5, 2019

I trashed my cluster and I can't reproduce this so.... good? :\

@tibers tibers closed this as completed Feb 5, 2019
@arashkaffamanesh
Copy link
Member

Ok, we create a new issue to have cert-manager support out of the box, not only for rancher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants