used to demonstrate an issue with trying to load a custom playbook from the robusta runner container image directly
- kind
- kubectl
- helm
- robusta cli
-
create kind cluster and install robusta:
make install-robusta
-
observe error loading custom playbook:
robusta logs --namespace robusta -f
2023-07-03 20:25:29.435 ERROR Action foo not found. Will not be executed 2023-07-03 20:25:29.436 ERROR unknown error reloading playbooks. will try again when they next change Traceback (most recent call last): File "/app/src/robusta/runner/config_loader.py", line 207, in __reload_playbook_packages (sinks_registry, playbooks_registry) = self.__prepare_runtime_config( File "/app/src/robusta/runner/config_loader.py", line 262, in __prepare_runtime_config playbooks_registry = PlaybooksRegistryImpl( File "/app/src/robusta/model/config.py", line 116, in __init__ raise Exception(msg) Exception: Action foo not found. Will not be executed
-
exec into runner to verify foo action is located among built-in robusta actions
kubectl -n robusta exec robusta-runner-[pod-suffix] -it -- bash
ls -la /etc/robusta/playbooks/defaults/robusta_playbooks/ | grep foo