Skip to content

the server is currently unable to handle the request #1369

@cemo

Description

@cemo

I have followed instructions, however I have some errors regarding server. It seems there is a conflict with manifests with instructions. Since I see in manifest some of the resources are created under cert-manager namespace however in instructions it is not.

Here is the error:

$ kubectl apply -f test-resources.yaml
namespace "cert-manager-test" created
Error from server (InternalError): error when creating "test-resources.yaml": Internal error occurred: failed calling admission webhook "issuers.admission.certmanager.k8s.io": the server is currently unable to handle the request
Error from server (InternalError): error when creating "test-resources.yaml": Internal error occurred: failed calling admission webhook "certificates.admission.certmanager.k8s.io": the server is currently unable to handle the request

Troubleshooting document says:

Namespace is OK

$ kubectl describe namespace cert-manager
Name:         cert-manager
Labels:       certmanager.k8s.io/disable-validation=true
Annotations:  kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{},"labels":{"certmanager.k8s.io/disable-validation":"true"},"name":"cert-manager","nam...
Status:       Active

customresourcedefinition are OK

$ kubectl get customresourcedefinition | grep certmanager
certificates.certmanager.k8s.io         1h
challenges.certmanager.k8s.io           1h
clusterissuers.certmanager.k8s.io       1h
issuers.certmanager.k8s.io              1h
orders.certmanager.k8s.io               1h

But there is not any issuer, certificate in default namespace.

$ kubectl get issuer,certificate
No resources found.

However there is in cert-manager namespace

$ kubectl get issuer,certificate --all-namespaces
NAMESPACE      NAME                            AGE
cert-manager   cert-manager-webhook-ca         11m
cert-manager   cert-manager-webhook-selfsign   11m

NAMESPACE      NAME                               AGE
cert-manager   cert-manager-webhook-ca            11m
cert-manager   cert-manager-webhook-webhook-tls   11m

Is this related to this? I could not be sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/deployIndicates a PR modifies deployment configurationarea/webhookIndicates a PR or issue relates to the webhook componenttriage/supportIndicates an issue that is a support question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions