Use below kubernetes code
workflow --pod is terminateing and remaing all st2 pods are starting.
kubectl exec -it st2workflowengine-58c5b75d49-sc2vp bash
error: unable to upgrade connection: container not found (“st2workflowengine”)