#!/bin/bash
POD_NAME=$(kubectl get pods -n m3uproxy -l app=proxy-pt -o jsonpath="{.items[0].metadata.name}")
kubectl port-forward --address 127.0.0.1 --request-timeout=0 -n m3uproxy $POD_NAME 3128:3128 1>/dev/null 2>&1 &