kata-deploy: Give users the ability to run it on DEBUG mode

The DEBUG env var introduced to the kata-deploy / kata-cleanup yaml file
will be responsible for:
* Setting up the CRI Engine to run with the debug log level set to debug
  * The default is usually info
* Setting up Kata Containers to enable:
  * debug logs
  * debug console
  * agent logs

This will help a lot folks trying to debug Kata Containers while using
kata-deploy, and also help us to always run with DEBUG=yes as part of
our CI.

Fixes: #7342

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio
2023-07-14 10:16:51 +02:00
parent 9b3dc572ae
commit 8f4b1df9cf
3 changed files with 38 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: DEBUG
value: "no"
securityContext:
privileged: true
volumeMounts: