Update README

This commit is contained in:
Jimmy 2022-02-09 13:44:11 +13:00
parent dd0b70e779
commit 839104e6d8
1 changed files with 2 additions and 8 deletions

View File

@ -1,11 +1,5 @@
https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/ https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
```kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0``` https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/
```kubectl create deployment web2 --image=gcr.io/google-samples/hello-app:2.0 --replicas=3``` ```kubectl apply -f k8s/ingress```
```kubectl expose deployment web --type=NodePort --port=8080```
```kubectl expose deployment web2 --type=ClusterIP --port=8080```
```kubectl get service web```