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 :: Creating a directory or folder in linux 
Shell :: install git lfs 
Shell :: configure static ip address linux 
Shell :: how to install yagmail 
Shell :: set keyboard azerty linux 
Shell :: spotify combo chercker 
Shell :: grep in windows 
Shell :: redis download 
Shell :: bash for i 
Shell :: flutter cmdline-tools component is missing 
Shell :: postinstall docker 
Shell :: docker-compose logs path 
Shell :: install mongodb 
Shell :: ubuntu run a shell script 
Shell :: uninstall specific java openjdk ubuntu 
Shell :: instal kdenlive 
Shell :: git stash save 
Shell :: CMake Error at src/CMakeLists.txt:10 (find_package): By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenCV", but CMake did not find one. 
Shell :: how to run code from github 
Shell :: linux unpack zip 
Shell :: Regex: Match Last Occurrence aka Negative Lookbehind 
Shell :: get folder from differente branch git 
Shell :: torch 1.1.0 install 
Shell :: master to main github 
Shell :: install tree in centos 7 
Shell :: linux format disk fat32 
Shell :: copy from remote server 
Shell :: delete remote commit 
Shell :: how to update application in ubunut 
Shell :: bash set var if not set 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =