-
Description of Problem / Feature RequestI am trying to deploy version 4.0.4 on a kubernetes cluster but the clair pod is throwing the error and then goes in "CrashLoopBackOff" state. Expected OutcomePod should be in running state Actual Outcomeclair pod is in "CrashLoopBackOff" state.
Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@imaskm my assumption is your config does not instruct Clair to perform migrations. Please reference the following configuration options and ensure you instruct Clair to perform migrations on the database you're pointing it to. https://quay.github.io/clair/reference/config.html#migrations-false-1 Each service section "indexer, matcher, notifier" has this "migrations" field and it should be set to "true" if you want Clair to setup the database tables for you. |
Beta Was this translation helpful? Give feedback.
@imaskm my assumption is your config does not instruct Clair to perform migrations.
Please reference the following configuration options and ensure you instruct Clair to perform migrations on the database you're pointing it to.
https://quay.github.io/clair/reference/config.html#migrations-false-1
Each service section "indexer, matcher, notifier" has this "migrations" field and it should be set to "true" if you want Clair to setup the database tables for you.