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

Better Logs for wrong ingress class #175

Open
alex-bezek opened this issue Mar 13, 2023 · 0 comments
Open

Better Logs for wrong ingress class #175

alex-bezek opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request priority/low

Comments

@alex-bezek
Copy link
Collaborator

Description

While setting up some demos, I ran into an issue where my ingress wasn't being created and I was missing why. Eventually I did find this

2023-03-13T22:27:51Z INFO controllers.ingress Ingress is not of type ngrok so skipping it {"ingress": "default/game-2048"}

My issue was I had the ingress-class annotation instead of the spec attribute. This would have been more clear if:

  • we noticed that annotation and warned that it was deprecated and being ignored
  • if the error said what the ingress class of the ingress was
  • if the error also said what the ingress classes it knows about and which that particular controller is watching.

Use Case

It should be easy to deal with misconfigurations.

Related issues

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority/low
Projects
None yet
Development

No branches or pull requests

1 participant