Skip to content

Instantly share code, notes, and snippets.

View arvindkgs's full-sized avatar

Arvind Kumar GS arvindkgs

View GitHub Profile
@arvindkgs
arvindkgs / Using Minikube Locally for Development.MD
Last active January 11, 2021 08:18 — forked from rcherara/Using Minikube Locally for Development.MD
[Minikube] Using Minikube Locally for Development #kubernetes #cli

Install Minikube with virtual-box VM driver

$ brew update && brew install kubectl && brew cask install docker minikube virtualbox
$ brew cask reinstall minikube
$ minikube delete
$ rm -fr ~/.minikube/
@arvindkgs
arvindkgs / README.md
Last active March 5, 2021 07:18
[Kubernetes] Kubernetes commands #kubecl

Common kubectl commands


debug

  1. Open shell to debug cluster
    kubectl run ubuntu -it --image=ubuntu --restart=Never --rm

log

  1. Log from current instead of from beginning
    kubectl logs -f --tail 0 pod
@arvindkgs
arvindkgs / NewRepo.md
Last active May 3, 2021 05:52
[Git] Git commands #cheatsheet #cli #git
  1. git init on local folder
  2. Create new empty repository on remote without any files
  3. git remote add origin [email protected]:arvindgs/kinesisdemo.git
  4. git branch --set-upstream-to=origin/master master
  5. git add .
  6. git commit -m "Initial commit"
  7. git push