k8s/ingress
Jimmy dd0b70e779 Add service config 2022-02-09 13:43:17 +13:00
..
README.md Ingress example 2022-02-08 23:55:21 +13:00
web-deplyment.yaml Add deploment config 2022-02-09 13:42:55 +13:00
web-ingress.yaml Rename 2022-02-09 13:42:27 +13:00
web-service.yaml Add service config 2022-02-09 13:43:17 +13:00
web2-deplyment.yaml Add deploment config 2022-02-09 13:42:55 +13:00
web2-service.yaml Add service config 2022-02-09 13:43:17 +13:00

README.md

https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/

kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0

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