Nice blog Harshit Dwivedi
why are you doing this ?
git remote rm origin
git remote add origin https: // user-name: $GITHUB_API_KEY@github.com/user-name/repo-name.git
No need to remove origin and add again.
Just wanted to know if you have to deploy the same on GKE, how do you know how many masters you have on GKE ? You only get access to nodes via google cloud console, you don’t know number of master nodes underlying.