(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
Kubernetes ingress-pixelfederation
1. Service Proxy in Pixel Federation
Techforce vol.8
Jozef Halgas
DevOps Engineer
1
2. www.pixelfederation.com
Service Proxy - Techforce vol.8
TL;DR Summary
● Introduction
● Infrastructure overview
● Kubernetes Ingress
● Ingress controller
● Maintenance page
● Blue Green deployment
● Integration with external tools
● Monitoring
2
3. www.pixelfederation.com
Service Proxy - Techforce vol.8
Pixel Federation
We develop and publish free-to-play games, which are available on Android
and iOS mobile devices, Facebook and on our PIXEL portal site.
● Trainstation
● Emporea
● Diggy’s Adventure
● Seaport
● Trainstation 2
● AFK Cats
3
6. www.pixelfederation.com
Service Proxy - Techforce vol.8
App architecture
● CDN for high availability and
performance
● backend on self managed K8s
cluster
● AWS managed services
● self managed services
6
7. www.pixelfederation.com
Service Proxy - Techforce vol.8
Kubernetes ingress
● gives services
externally-reachable URLs
● collection of rules that allow
inbound connections to reach the
cluster services
● load balances traffic
● terminates SSL / TLS
● name-based virtual hosting
● path-based routing
● an ingress controller is required to
satisfy an Ingress
7
8. www.pixelfederation.com
Service Proxy - Techforce vol.8
Ingress controller
● an application that runs in a cluster
and configures an HTTP load
balancer according to Ingress
resources
● the load balancer can be a
software load balancer running in
the cluster or a hardware or cloud
load balancer running externally
● K8s has different Ingress
Controllers
● internal/external/shared/dedicated
8
9. www.pixelfederation.com
Service Proxy - Techforce vol.8
Default backend
● an Ingress with no rules sends all
traffic to a single default backend
● the default backend is typically a
configuration option of the Ingress
controller and is not specified in
your Ingress resources
● if none of the hosts or paths match
the HTTP request in the Ingress
objects, the traffic is routed to your
default backend
● Not Found/ 404 response
9
10. www.pixelfederation.com
Service Proxy - Techforce vol.8
Maintenance page
● notifies clients that server is in
maintenance mode - players get
maintenance message
● kubernetes.io/ingress.class patch
● different pages per game
● default backends serve desired
page/json
10
11. www.pixelfederation.com
Service Proxy - Techforce vol.8
Blue green deployment
● live ingress - handles prod
hostname
● deployment ingress - unique
deployment hostname
● service selector modification
11
12. www.pixelfederation.com
Service Proxy - Techforce vol.8
Integration with external tools
● external-dns
○ provisions DNS records
○ dynamic envs
● Prometheus and Grafana
○ scrape and visualize metrics
○ black box app monitoring
12