Devfile Registry deployment on minikube with helm keeps crash looping #1295
Labels
area/registry
Devfile registry for stacks and infrastructure
kind/bug
Something isn't working
severity/blocker
Issues that prevent developers from working
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area registry
What versions of software are you using?
Go project
Operating System and version: N/A
Go Pkg Version: 1.18
Node.js project
Operating System and version: N/A
Node.js version: 18
Yarn version: 1.22.19
Project.json: https://github.com/devfile/devfile-web/blob/91b745246e20f760efd74758022420d7302becf6/package.json
Web browser
Operating System and version: N/A
Browser name and version: N/A
Bug Summary
Describe the bug:
Deploying the devfile registry using the helm chart on minikube results in the index server and registry viewer containers experiencing a repeating
CrashLoopBackOff
state for over 10 minutes, causing the integration testing on devfile registry under registry-support to timeout (has a 10 minute wait for deployment limit).To Reproduce:
minikube v1.21.0
using Kubernetesv1.21.0
with default settings.docker
, run integration testing script:bash .ci/run_tests_minikube_linux.sh
. Or follow steps 3-4 to run manually withpodman
or defaultnext
tag, skip to step 5 if using this stephelm install devfile-registry ./deploy/chart/devfile-registry --set global.ingress.domain=$(minikube ip).nip.io
--set devfileIndex.image=quay.io/<user>/devfile-index --set devfileIndex.tag=<tag_label>
to specify your own imagekubectl wait deploy/devfile-registry --for=condition=Available --timeout=600s
to wait for available conditionhelm install ... & kubectl wait ...
to best simulate the timing of the scriptExpected behavior
Deploys successfully within 10 minutes without experiencing frequent
CrashLoopBackOff
states.Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Full error log: devfile_registry_error.log
Error Message
Container State Details
Events
Additional context
Any workaround?
Increase the timeout limit of integration testing, this does not solve the problem of the devfile registry taking over 10 minutes to deploy.
Suggestion on how to fix the bug
Unknown at this time.
The text was updated successfully, but these errors were encountered: