From 822cd4a3efb3a0e90c115a240937164aa6818498 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Wed, 9 Feb 2022 14:08:25 +1300 Subject: [PATCH] Update READEME --- ingress/README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ingress/README.md b/ingress/README.md index 4be7613..95b5515 100644 --- a/ingress/README.md +++ b/ingress/README.md @@ -1,5 +1,25 @@ +# K8s setup with Nignx Ingress + +```kubectl apply -f k8s/ingress``` + +Edit hosts file on host machine + +Get ip of vm + +```ip -o a | grep ens``` + +```sudo nano /etc/hosts``` + +``` ingress.local``` + +http://ingress.local + +http://ingress.local/v2 + + +https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#server-side-https-enforcement-through-redirect + https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/ https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/ -```kubectl apply -f k8s/ingress```