Knative Error: the server could not find the requested resource

Events:  Type     Reason          Age                 From                Message  ----     ------          ----                ----                -------  Normal   Created         56s                 service-controller  Created Configuration "devops"  Warning  CreationFailed  51s (x12 over 56s)  service-controller  Failed to create Route "devops": the server could not find the requested resource (post routes.serving.knative.dev)  Warning  InternalError   51s (x12 over 56s)  service-controller  failed to create Route: the server could not find the requested resource (post routes.serving.knative.dev)

Solution

CRDs Missing or Corrupted: The error indicates that the required Custom Resource Definitions (CRDs) for Knative Serving might be missing or corrupted.

Check if the CRDs for Knative are correctly installed using:

$ kubectl get crds | grep knative.dev
You should see CRDs related to Knative Serving like routes.serving.knative.dev.

If the CRDs are missing or seem corrupted, consider reinstalling the Knative Serving component.
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x