kubectl exec
command to access the container and inspect the shell activity. For example, kubectl exec -it <pod-name> -- /bin/bash
allows you to open a shell within the container and analyze any suspicious activities.kubectl get pods -o wide
kubectl apply -f pod.yaml
kubectl get pod <pod-name>