Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- gcloud container clusters create webfrontend --zone $MY_ZONE --num-nodes 2
- ```
- ```
- kubectl version
- ```
- ```
- kubectl run nginx --image=nginx:1.10.0
- ```
- ```
- kubectl get pods
- ```
- ```
- kubectl expose deployment nginx --port 80 --type LoadBalancer
- ```
- ```
- kubectl get services
- ```
- ```
- kubectl scale deployment nginx --replicas 3
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement