Загрузка...

Kubernetes Ingress explained it FINALY makes sense!

👉 To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/DistroDomain You’ll also get 20% off an annual premium subscription.
👉 No more SSL warnings! https://www.youtube.com/watch?v=JNFQOJP5VY0&list=PL3XapxMOgj1n2Ovlxd37OtohGUQebiqjb&index=8

Learn how Kubernetes Ingress works with this complete beginner-friendly tutorial. Discover what Ingress controllers are, how to expose your applications with clean URLs, and trace network traffic through your entire Kubernetes cluster step-by-step.

🚀 What You'll Learn:
- What Kubernetes Ingress is and why it matters for your cluster
- How Ingress controllers route external traffic to your services
- Step-by-step setup of NGINX Ingress Controller
- Configuring routing rules and exposing apps with custom domains
- Complete traffic flow visualization from external requests to pods
- Common Ingress pitfalls and how to avoid them
- Load balancing and SSL/TLS termination basics

Stop struggling with Kubernetes networking! This tutorial breaks down Ingress controllers in plain English, showing you exactly how traffic flows from the internet to your pods. Perfect for DevOps engineers, platform engineers, and anyone working with Kubernetes clusters who wants to understand application exposure beyond basic NodePort services.

For business inqueries or consultation send me an email to: info@distrodomain.com

Join Discord: https://discord.gg/aj5FhGhcMy

#### HAproxy configuration ####
---------------------------------------------------------------------
frontend http_in
bind *:80
mode http
default_backend http_back

backend http_back
balance roundrobin
server worker1 192.168.0.109:31034 check inter 2s fall 3
server worker2 192.168.0.111:31034 check inter 2s fall 3
---------------------------------------------------------------------

#### Ingress Controller ####
---------------------------------------------------------------------
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.12.3/deploy/static/provider/cloud/deploy.yaml
---------------------------------------------------------------------

#### Web-app manifest ####
---------------------------------------------------------------------
---
apiVersion: v1
kind: Namespace
metadata:
name: web-app

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: web-app
namespace: web-app
labels:
app.kubernetes.io/name: web-app
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: web-app
template:
metadata:
labels:
app.kubernetes.io/name: web-app
spec:
containers:
- name: web-app
image: nginx
---
apiVersion: v1
kind: Service
metadata:
name: web-app
namespace: web-app
labels:
app.kubernetes.io/name: web-app
spec:
selector:
app.kubernetes.io/name: web-app
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
---------------------------------------------------------------------

#### Web-app ingress ####
---------------------------------------------------------------------
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: web-app-ingress
namespace: web-app
labels:
app.kubernetes.io/name: web-app
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: web-app.distrodomain.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web-app #--must match your app pod service name
port:
number: 80 #--must match your app pod serivce port
---------------------------------------------------------------------

0:00 - Traditional cloud cluster
2:44 - What is ingress
3:04 - Ingress cloud cluster
6:55 - Deploying a load balancer
9:10 - Configuring DNS
9:45 - Cluster overview
10:19 - Deploying ingress
13:01 - Deploying a web app
14:51 - Configuring ingress rules
17:59 - Configuring load balancer ports
18:38 - Testing and validating
18:55 - Recap of the entire setup

#kubernetes #kubernetespods #kubernetestutorialforbeginners #kubernetesforbeginners #rockylinux #devops #devopstraining #cloudcomputing #cicd #docker #dockercontainer #containerization #ingress #nginx

This video was sponsored by Brilliant

Видео Kubernetes Ingress explained it FINALY makes sense! канала Distro Domain
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять