Commit graph

6 commits

Author SHA1 Message Date
Stéphane Bidoul
de2a95dc7d
Add Dockerfile 2021-11-05 09:44:34 +01:00
Stéphane Bidoul
d79cb6223e
Use official kubernetes client
Because kubernetes_asyncio watcher have correctness issues,
as they seem to re-emit events that pre-date the initial load.

Although I ended up having to implement an infinite watcher,
to handle socket timeout errors...
2021-11-04 09:36:01 +01:00
Stéphane Bidoul
f5d232c3af
More precise change detection
Fix: we read spec.replicas instead of status.replicas.
Do not wakeup needlessly when irrelevant changes
happen in deployments.
Better logging.
2021-10-31 16:21:36 +01:00
Stéphane Bidoul
d6d9ac8a7f
Use jobs for db initialization an cleanup
It turns out that init containers do not work, as we
can't easily detect failures and access init log as they
restart constantly. So we use initialization jobs.
We take the opportunity to use cleanup jobs too, so
all knowledge of runtime content is in the kubefiles.
2021-10-31 11:04:51 +01:00
Stéphane Bidoul
1f137bbdc8
Do not create new deployment if build already exist 2021-10-29 00:32:15 +02:00
Stéphane Bidoul
d90ffad1aa
Update README 2021-10-28 18:20:21 +02:00