Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubectl port forward

kubectl port-forward deployment/<deployment-name> <internal-port>:<external-port>
Comment

port forward kubernetes

kubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000
Comment

kubectl port-forward pod

# Change mongo-75f59d57f4-4nd6q to the name of the Pod
kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017
Comment

kubectl port-forward

# To not choose the local port, let kubect do it for you and avoid 
# port conflics.
kubectl port-forward <pod_name> :<pod_port>
Comment

kubectl kubernetes port forward

kubectl -n kube-system port-forward $(kubectl -n kube-system get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000
Comment

PREVIOUS NEXT
Code Example
Shell :: php artisan doctrine migrations add all 
Shell :: How to stop a service with systemctl command 
Shell :: path/to/sdkmanager --install "cmdline-tools;latest" 
Shell :: list users on server 
Shell :: git pull rebase 
Shell :: how to logout from github desktop 
Shell :: how to navigate to a folder in cmd windows 10 
Shell :: get my ip address linux 
Shell :: copy file permissions to another file 
Shell :: git update .gitignore 
Shell :: bash get path of command 
Shell :: import single table from mysql dump 
Shell :: git ignore not saving changes 
Shell :: gitignore all files and folders in only one folder 
Shell :: install couchdb ubuntu 18.04 
Shell :: how to revoke permissions from group and others 
Shell :: ubuntu monitor io 
Shell :: update gradle version command line 
Shell :: docker build from github repository 
Shell :: android get armeabi 
Shell :: stack navigator 
Shell :: react icons 
Shell :: update msfconsole 
Shell :: install vim in wsl 
Shell :: linux list users 
Shell :: config php.ini for magento@ 
Shell :: bash sum float numbers 
Shell :: Install Deno - Homebrew (Mac) 
Shell :: redis ubuntu install 
Shell :: cptable is not defined at make_xlsx 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =