From a98f4d62fe8b359fed351e167972b8a7fb03b4c0 Mon Sep 17 00:00:00 2001 From: n-marton Date: Fri, 20 Dec 2024 23:40:19 +0100 Subject: [PATCH] add observe and plugin use to start guide Signed-off-by: n-marton --- STARTED.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/STARTED.md b/STARTED.md index 945cde8..06c5009 100644 --- a/STARTED.md +++ b/STARTED.md @@ -16,4 +16,20 @@ Ensure that you go bin directory is in the path. ``` go install github.com/adyen/kubectl-rexec@latest +``` + +## Observe events + +Tail the logs of the proxy to see audit events, and ideally set up a logshipping setup that suits you to store them. + +``` +kubectl -n kube-system logs -l app=rexec -f +``` + +## Use the plugin + +The rexec plugin has the same params as the upstream exec command. + +``` +kubectl rexec exec -ti some-pod -- bash ``` \ No newline at end of file