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.
18 lines
343 B
YAML
18 lines
343 B
YAML
version: 1
|
|
disable_existing_loggers: false
|
|
formatters:
|
|
rich:
|
|
datefmt: "[%X]"
|
|
format: "%(name)25s %(message)s"
|
|
handlers:
|
|
console:
|
|
class: rich.logging.RichHandler
|
|
level: NOTSET
|
|
formatter: rich
|
|
rich_tracebacks: true
|
|
root:
|
|
level: DEBUG
|
|
handlers: [console]
|
|
loggers:
|
|
kubernetes_asyncio.client.rest:
|
|
level: INFO
|