question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MountVolume.SetUp failed for volume "cert" : secret "kfserving-webhook-server-cert" not found

See original GitHub issue

/kind bug

What steps did you take and what happened: I have installed kfserving as mentioned here https://github.com/kubeflow/kfserving#install-kfserving. But kfserving-controller-manager pod is stuck in container creating state with an error MountVolume.SetUp failed for volume "cert" : secret "kfserving-webhook-server-cert" not found

$ kubectl get pod -n kfserving-system
NAME                                        READY   STATUS              RESTARTS   AGE
kfserving-controller-manager-0              0/2     ContainerCreating   0          131m
kfserving-models-web-app-84d5d66954-cckfc   1/1     Running             0          131m
$ kubectl get secret -n kfserving-system
NAME                                   TYPE                                  DATA   AGE
default-token-bvcxz                    kubernetes.io/service-account-token   3      139m
kfserving-models-web-app-token-gfzrc   kubernetes.io/service-account-token   3      139m
kfserving-webhook-server-secret        Opaque                                0      139m

What did you expect to happen:

Expected kfserving-controller-manager-0 to be in running state.

Environment:

  • Istio Version: 1.9.3
  • Knative Version: v0.23.0
  • KFServing Version: v0.6.0
  • Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
  • Kubernetes version: v1.19.6
  • OS (e.g. from /etc/os-release): Amazon Linux 2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

0reactions
silverlining21commented, Jun 22, 2022

Hi @SeibertronSS To reinstall cert-manager, refer to this document https://cert-manager.io/docs/installation/#default-static-install

kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.5.4/cert-manager.yaml

I got the same issue, tried your solution, bug still exitsts

Read more comments on GitHub >

github_iconTop Results From Across the Web

MountVolume.SetUp failed for volume "cert" : secret "kfserving ...
But kfserving-controller-manager pod is stuck in container ... for volume "cert" : secret "kfserving-webhook-server-cert" not found #1710.
Read more >
mountvolume.setup failed for volume "cert" : secret "webhook ...
Not very sure what exactly happened on your device. But I got a very similar issue. The solution may be helpful. If you...
Read more >
MountVolume.SetUp failed for volume "webhook-cert"
I want to install nginx-controller in my Kubernetes cluster. I setup my master node at one server, and ...
Read more >
MountVolume.SetUp failed for volume "webhook-cert" - Reddit
SetUp failed for volume "webhook-cert" : secret "ingress-nginx-admission" not found. I want to run a nginx ingress controller on a raspberry ...
Read more >
All About the cert-manager Webhook
The cainjector creates secret/cert-manager-webhook-ca , a self-signed root CA certificate which is used to sign certificates for the webhook pod. Then the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found