From 839104e6d8a32c13a45fc8584e42e6875b86de87 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Wed, 9 Feb 2022 13:44:11 +1300 Subject: [PATCH] Update README --- ingress/README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ingress/README.md b/ingress/README.md index 7fa4022..4be7613 100644 --- a/ingress/README.md +++ b/ingress/README.md @@ -1,11 +1,5 @@ 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 expose deployment web --type=NodePort --port=8080``` - -```kubectl expose deployment web2 --type=ClusterIP --port=8080``` - -```kubectl get service web``` +```kubectl apply -f k8s/ingress```