Kubernetes docs give a good explanation of what their probes are but for your app how can we best…
Get a Postgres dump:
pg_dump -h <host-name> -U <db-user-name> --password <database-name> > outfile.dmp
This will prompt for a password and then create the dump.
Some commands that are used occasionally and end up needing a stack overflow search.
Get rid of any commits that are not pushed and reset to origin.
git checkout mastergit reset --hard origin/master
Developing locally in a microservices environment can be a bit of a pain. Assuming a Kubernetes world, Minikube helps immensely and to take it a step further Telepresence is my new friend.
Using a pre-signed S3 URL to upload a gzip file took some time to figure out so here is what worked for me.
I’m using Spring rest template. Note the content-type and content-encoding headers.