get_current_pod 94 B

12345
  1. #!/bin/bash
  2. CURRENT=$(kubectl get pods | grep matrix | awk '{print $1}')
  3. echo -n ${CURRENT}