Skip to content

Instantly share code, notes, and snippets.

@cemtopkaya
Last active September 23, 2024 10:08
Show Gist options
  • Save cemtopkaya/965e8f77e1f6e3f9f685d5adb4346de2 to your computer and use it in GitHub Desktop.
Save cemtopkaya/965e8f77e1f6e3f9f685d5adb4346de2 to your computer and use it in GitHub Desktop.
Kabuk Betiği komutlarım

Kubernetes komutlarını geçici olarak aynı namespace içinde çalıştırır:

export NS=$(k get ns | grep 5gcn | cut -d' ' -f1)
export CTX=$(k config current-context)
kubectl config set-context $CTX --namespace $NS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment