Skip to content

Instantly share code, notes, and snippets.

View logs of multiple pods

- View logs of a single pod

kubectl logs <pod-name>

- View logs of muliple pods defined by a specific label

There could be multiple pods related to a single deployment. For example,there are 3 pods for API because you want to have 3 instances of API.

How to rename branch

Step 1: rename local branch

If you are in different branch other than old-branch,

git branch -m <old-branch> <new-branch>

eg. git branch -m load_data feature/load_data

If you are in the old-branch,