kubectl create deployment nginx --image=nginx:1.10.0
kubectl get pods
kubectl expose deployment nginx --port 80 --type LoadBalancer
kubectl get services
curl http://<External IP>:80
'Google Cloud Platform' 카테고리의 다른 글
[GKE] kubectl explain (0) | 2020.05.23 |
---|---|
[GKE] kubectl port-forward (0) | 2020.05.21 |
[GKE] Deploying an application to the cluster (0) | 2020.05.19 |
[VM] add new disk (0) | 2020.05.10 |
[VM] run startup script, shutdown script (0) | 2020.05.10 |