Google Cloud Platform

[GKE] kubectl port-forward

nockdoo 2020. 5. 21. 22:56
local port 10080 을 pod port 80 과 매핑

kubectl port-forward monolith 10080:80

 

curl http://127.0.0.1:10080

 

'Google Cloud Platform' 카테고리의 다른 글

[GKE] call http by curl, kubectl  (0) 2020.05.23
[GKE] kubectl explain  (0) 2020.05.23
[GKE] Deploying Nginx on GKE  (0) 2020.05.19
[GKE] Deploying an application to the cluster  (0) 2020.05.19
[VM] add new disk  (0) 2020.05.10