This repository contains various use cases and examples of GKE Networking. For each of the use-cases there are full YAML examples that show how and when these GKE capabilities should be used.
If you're not familiar with the basics of Kubernetes networking then check out cluster networking and service networking. These resources should give you some of the foundations behind Kubernetes networking.
GKE is a managed Kubernetes platform that provides a more opinionated and seamless experience. For more information on GKE networking, check out network overview, Ingress, and Service networking pages. Each of the following recipes demonstrate specific networking use-cases in GKE. Setup your GKE environment and try out some of these recipes in your own kitchen.
- Ingress
- Basic External Ingress - Deploy host-based routing through an internet-facing HTTP load balancer
- Basic Internal Ingress - Deploy host-based routing through a private, internal HTTP load balancer
- Secure Ingress - Secure Ingress-hosted Services with HTTPS, Google-managed certificates, SSL policies, and HTTPS redirects.
- Multi-cluster Ingress
- Basic Multi-cluster Ingress - Deploy applications across different clusters and different regions but retain a single global load balancer and public IP for global traffic management.
- Services
- Basic LoadBalancer Service - Deploy an internet-facing TCP/UDP network load balancer
- Basic Internal LoadBalancer Service - Deploy an internal TCP/UDP load balancer
Do you have a GKE networking recipe that would be useful for others? Contribute it and help build the shared knowledge of the GKE community!