pods=$(kubectl get pods | awk '/e2e-test/ && !/$HOSTNAME/')
I would like to filter and retrieve all pods in the kubectl result which start in "e2e-test", but which are different from the hostname. I tried different ways but they all seem ignore the variable.