Executing the command without entering the parameter --socket /run/k3s/containerd/containerd.sock the error presented is: ctr: container "ksniff"" in namespace "k8s.io": not found
Inserting this parameter the pod is deployed, however, the volume is not mounted and reports the error: Unable to attach or mount volumes: unmounted volumes=[container-socket], unattached volumes=[container-socket host default-token-7tfcb] : timed out waiting for the condition
I opened a support request in the Ksniff project, but so far I haven't had any feedback.
maybe you should try rearranging the parameters, and making sure nginx is the pod name (and the pod really exists), and sniff is the namespace name (and it really exists) ...
kubectl sniff POD-NAME -n POD-NAMESPACE-NAME -p
Not sure why you would need the --socket stuff ...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for answering.
Executing the command without entering the parameter --socket /run/k3s/containerd/containerd.sock the error presented is: ctr: container "ksniff"" in namespace "k8s.io": not found
Inserting this parameter the pod is deployed, however, the volume is not mounted and reports the error: Unable to attach or mount volumes: unmounted volumes=[container-socket], unattached volumes=[container-socket host default-token-7tfcb] : timed out waiting for the condition
I opened a support request in the Ksniff project, but so far I haven't had any feedback.
github.com/eldadru/ksniff/issues/132
I am not sure what command you are sending ..
I see in your github issue this:
kubectl sniff -p nginx -n sniff --socket /run/k3s/containerd/containerd.sock -v
maybe you should try rearranging the parameters, and making sure nginx is the pod name (and the pod really exists), and sniff is the namespace name (and it really exists) ...
kubectl sniff POD-NAME -n POD-NAMESPACE-NAME -p
Not sure why you would need the --socket stuff ...