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 :: mac ram size cli 
Shell :: ngrok download authtoken 
Shell :: uninstall plesk ubuntu 
Shell :: install laravel globally mac 
Shell :: mac terminal unzip to directory 
Shell :: virtual host apache 
Shell :: how to do install tmux plugins 
Shell :: Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;28.0.3 Android SDK Build-Tools 28.0.3 platforms;android-29 Android SDK Platform 29 
Shell :: how to install ssh server on ubuntu 16.04 
Shell :: install slack ubuntu 
Shell :: delete all merged branches 
Shell :: sourcetree change commit message 
Shell :: cd into differernt drive 
Shell :: how to take a screenshot gnome 
Shell :: git initial commands 
Shell :: change file name in terminal 
Shell :: linux login to github via git 
Shell :: docker remove all images powershell 
Shell :: how to install pycharm on ubuntu 
Shell :: a) Write a shell script to list all of the directory files in a directory. 
Shell :: sudo: lsof: command not found 
Shell :: installation of docker 
Shell :: centos install specific kernel headers 
Shell :: shell view binary file 
Shell :: yarn start error error listen EADDRINUSE: address already in use :::8081. 
Shell :: git log my commits 
Shell :: run jar file on the background on ubuntu 
Shell :: arch linux change timezone 
Shell :: command to install PHP on Ubuntu 
Shell :: composer install debian 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =