GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — educka/ingress at master · caprigit/educka

Expand file tree

/

ingress

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

ingress

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Kubernetes-Ingress-with-Nginx.pdf
Kubernetes-Ingress-with-Nginx.pdf
 
 
deploy-app.yml
deploy-app.yml
 
 
ingress-rule.yml
ingress-rule.yml
 
 
nginx-ing-controller.yaml
nginx-ing-controller.yaml
 
 
readme.md
readme.md
 
 
rm-nginx-ingress-controller.sh
rm-nginx-ingress-controller.sh
 
 
service-loadbalancer.yaml
service-loadbalancer.yaml
 
 
service-nodeport.yaml
service-nodeport.yaml
 
 

readme.md

Outline

Ingress

An API object that manages external access to the services in a cluster, typically HTTP, Ingress can also provide load balancing, SSL termination and name-based virtual hosting

Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Traffic routing is controlled by rules defined on the Ingress resource

Deploy three different Apps on k8s cluster

kubectl apply -f https://raw.githubusercontent.com/lerndevops/educka/master/ingress/deploy-app.yml

Deploy Ingress Controller

kubectl apply -f https://raw.githubusercontent.com/lerndevops/educka/master/ingress/nginx-ing-controller.yaml

kubectl apply -f https://raw.githubusercontent.com/lerndevops/educka/master/ingress/service-nodeport.yaml

Deploy Ingress Rule

kubectl apply -f https://raw.githubusercontent.com/lerndevops/educka/master/ingress/ingress-rule.yml

Get Ingress Controller Service NodePort

get Ingress Controller Pod NodeIP & Ingress Controller Service NodePort

    kubectl get pods -n ingress-nginx -o wide  ## Note the Node IP in which the Ingress Controller Pod is Running
    kubectl get svc -n ingress-nginx  ## Note the Ingress Servcie NodePort

validate

   From the above details noted in your browser hit as below
   
   NodeIp:NodePort/app1
   NodeIp:NodePort/app2
   NodeIp:NodePort/app3
   
   Example: 192.168.198.129:30528/app1, 192.168.198.129:30528/app2, 192.168.198.129:30528/app3
   
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.