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

Handle race condition between knative operator and kubernetes resources it requires #90

Open
ca-scribner opened this issue Mar 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ca-scribner
Copy link
Contributor

The knative operator and operator webhook require that several configmaps and secrets be present before the application is launched. If they launch without these resources, they fail immediately (<1s).

Because these processes are launched via Pebble, we might expect that Pebble would auto-restart these processes if they die. However, Pebble sees a quick exit (exit in <1s) not as a start and fail but instead as if the processes has not started at all (see here), putting the process in an inactive state that cannot be easily recovered (this is discussed more here. We should handle this somehow.

@ca-scribner ca-scribner added the bug Something isn't working label Mar 9, 2023
ca-scribner added a commit that referenced this issue Mar 9, 2023
…rces

Adds a check to ensure the kubernetes resources required to deploy the knative operator/webhook exist.

Closes #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant