Score:-2

Getting issue with nginx ingress controller

sl flag

I'm getting issue with nginx ingress Error: invalid virtual server or virtual server route

How to fix this above error?

John Hanley avatar
cn flag
Edit your post and include the Nginx configuration files.
Ruthew avatar
sl flag
@John Issue resolved
John Hanley avatar
cn flag
Please edit your post to describe the problem with enough details to be correctly answered. An answer to an poorly formed question limits it value. I am voting to close this question due to low quality.
Score:1
dk flag

As per this Blog by Patrick Londa, to check the Error: invalid virtual server or virtual server route, you need to utilize the controller logs, the generated configuration file, and check the events for the VirtualServer and VirtualServerRoute resources.

Check Events of VirtualServer and VirtualServerRoute Resources:

You can check events for a VirtualServer resource with this command:

kubectl describe vs <VS-resource-name>

You can check events for a VirtualServerRoute resource with this command:

kubectl describe vsr <VSR-resource-name>

Similar to checking the events of an Ingress resource, if you are looking for normal events with the reason AddedOrUpdated to signal that the configuration was successfully applied.

Refer to this gitlink for more information about VirtualServer and VirtualServerRoute Resources

Sai Chandini Routhu avatar
dk flag
@Ruthew If the issue still persists As john Hanely mentioned edit your post and include the Nginx configuration files.
Ruthew avatar
sl flag
I will go through your answer and try in my environment.If still issue persists I will add nginx configuration files in my question
Ruthew avatar
sl flag
Thanks for your answer Issue fixed
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.