Skip to content

Instantly share code, notes, and snippets.

@ualmtorres
Created May 14, 2020 08:19
Show Gist options
  • Save ualmtorres/a8567069a63331d2461e04b49d289cc6 to your computer and use it in GitHub Desktop.
Save ualmtorres/a8567069a63331d2461e04b49d289cc6 to your computer and use it in GitHub Desktop.
#!/bin/bash
kubectl apply -f deployment-sgbd.yml
kubectl apply -f deployment-sgapi.yml
kubectl apply -f deployment-sgapp.yml
kubectl get deployments -n demo --watch
sudo kubectl port-forward -n demo `kubectl get pods -n demo | grep 'sgapp' | awk '{print $1}'` 80:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment