All Projects → GoogleCloudPlatform → Gke Networking Demos

GoogleCloudPlatform / Gke Networking Demos

Licence: apache-2.0
This project presents a number of best practices for establishing network links between Kubernetes Engine clusters, and exposing cluster services across Google Cloud projects. You will use a set of Deployment Manager templates to create networks, subnets, vpn connections, and Kubernetes Engine clusters.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Gke Networking Demos

Autowire
Automatically configure Wireguard interfaces in distributed system. It supports Consul as backend.
Stars: ✭ 101 (-2.88%)
Mutual labels:  networking, vpn
Wireguard Manager
Self-hosted Wireguard Installer / Manager for CentOS, Debian, Ubuntu, Arch, Fedora, Redhat, Raspbian
Stars: ✭ 478 (+359.62%)
Mutual labels:  networking, vpn
Dsnet
Simple command to manage a centralised wireguard VPN. Think wg-quick but quicker: key generation + address allocation.
Stars: ✭ 365 (+250.96%)
Mutual labels:  networking, vpn
tunman
Comprehensive solution for SSH tunnels - respawning, healthchecking/monitoring
Stars: ✭ 43 (-58.65%)
Mutual labels:  routing, vpn
Zerotierone
A Smart Ethernet Switch for Earth
Stars: ✭ 7,839 (+7437.5%)
Mutual labels:  networking, vpn
Docker Tuntap Osx
A tuntap shim installer for "Docker for Mac"
Stars: ✭ 264 (+153.85%)
Mutual labels:  networking, routing
Wesher
wireguard overlay mesh network manager
Stars: ✭ 461 (+343.27%)
Mutual labels:  networking, vpn
Simple Vpn
A simple VPN allowing mesh-like communication between nodes, over websockets
Stars: ✭ 201 (+93.27%)
Mutual labels:  networking, vpn
Wireguard Install
WireGuard VPN server installer
Stars: ✭ 616 (+492.31%)
Mutual labels:  networking, vpn
Cjdns
An encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing.
Stars: ✭ 4,766 (+4482.69%)
Mutual labels:  networking, routing
Twist
A light script for you to setup shadowsocks-libev server with high-speed connections and newest powerful features
Stars: ✭ 229 (+120.19%)
Mutual labels:  networking, vpn
Addon Wireguard
WireGuard - Home Assistant Community Add-ons
Stars: ✭ 72 (-30.77%)
Mutual labels:  networking, vpn
Django Netjsonconfig
Configuration manager for embedded devices, implemented as a reusable django-app
Stars: ✭ 213 (+104.81%)
Mutual labels:  networking, vpn
Wireguard Docs
📖 Unofficial WireGuard Documentation: Setup, Usage, Configuration, and full example setups for VPNs supporting both servers & roaming clients.
Stars: ✭ 3,201 (+2977.88%)
Mutual labels:  networking, vpn
Drago
A flexible configuration manager for Wireguard networks
Stars: ✭ 204 (+96.15%)
Mutual labels:  networking, vpn
Actix Net
A collection of lower-level libraries for composable network services.
Stars: ✭ 415 (+299.04%)
Mutual labels:  networking, routing
Ansible Role Wireguard
Ansible role for installing WireGuard VPN. Supports Ubuntu, Debian, Archlinx, Fedora and CentOS.
Stars: ✭ 176 (+69.23%)
Mutual labels:  networking, vpn
Dpitunnel
DPITunnel is an android app made for censorship bypass
Stars: ✭ 179 (+72.12%)
Mutual labels:  networking, vpn
Libzt
ZeroTier Sockets - Put a network stack in your app
Stars: ✭ 486 (+367.31%)
Mutual labels:  networking, vpn
Kilo
Kilo is a multi-cloud network overlay built on WireGuard and designed for Kubernetes (k8s + wg = kg)
Stars: ✭ 845 (+712.5%)
Mutual labels:  networking, vpn

Kubernetes Engine Networking

Introduction

Google cloud networking with Kubernetes Engine clusters can be complex. Assigning optimal CIDR ranges for the relevant VPC subnets and the Kubernetes Engine clusters' reserved IP ranges from the start is very important since VPC subnets are not always easy to resize and the cluster's reserved IP ranges are immutable. Using the correct method to expose the applications in the cluster is important as every method was designed for a different set of use cases.

The demos in the project demonstrate the following best practices:

  1. Connecting two GCP networks using VPC peering and Cloud VPN containing two Kubernetes Engine clusters each.
  2. Deploying the nginx pods.
  3. Exposing the pods using Kubernetes Engine services
  4. Validating pod-to-service communication across the Kubernetes Engine clusters within the same region and the different regions.

Prerequisites

Tools

  1. Google Cloud SDK version >= 253.0.0
  2. kubectl matching the latest GKE version
  3. bash or bash compatible shell
  4. jq

Install Cloud SDK

The Google Cloud SDK is used to interact with your GCP resources. Installation instructions for multiple platforms are available online.

Install kubectl CLI

The kubectl CLI is used to interteract with both Kubernetes Engine and kubernetes in general. Installation instructions for multiple platforms are available online.

Directory Structure

  1. The gke-to-gke-peering and gke-to-gke-vpn folders each contain a project.
  2. README files exist for the above examples; gke-to-gke-peering/README.md and gke-to-gke-vpn/README.md.
  3. The network folder contains the manifest files and deployment manager templates to setup networks.
  4. The clusters folder contains the manifest files and deployment manager templates to create Kubernetes Engine clusters.
  5. The manifests folder contains the manifest files to create Kubernetes Engine services.

This is not an officially supported Google product

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].