Use SSH to connect to your kubernetes cluster.
kubectl apply -f manifests
POD=$(kubectl get pod -l app=ssh -o jsonpath="{.items[0].metadata.name}")
kubectl exec -ti $POD -- bash
adduser foobar
After that you can access from another container using:
ssh foobar@ubuntu-ssh