Add port-forwarding to kubectl aliases

I use this shortcut a lot every day
This commit is contained in:
Raymond Botha 2018-03-04 22:42:26 +02:00 committed by GitHub
parent 2ff9560ad3
commit 98c2520ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,10 @@ alias k=kubectl
# Drop into an interactive terminal on a container
alias keti='k exec -ti'
# Manage configuration quickly to switch contexts between local, dev ad staging.
# Forward a local port to a pod
alias kpf='k port-forward'
# Manage configuration quickly to switch contexts between local, dev and staging.
alias kcuc='k config use-context'
alias kcsc='k config set-context'
alias kcdc='k config delete-context'