{"id":13550060,"url":"https://github.com/GoogleCloudPlatform/gke-networking-demos","last_synced_at":"2025-04-02T23:31:38.114Z","repository":{"id":34256302,"uuid":"142069533","full_name":"GoogleCloudPlatform/gke-networking-demos","owner":"GoogleCloudPlatform","description":"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.","archived":false,"fork":false,"pushed_at":"2024-08-19T18:05:58.000Z","size":2202,"stargazers_count":140,"open_issues_count":7,"forks_count":50,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-03-30T15:42:55.163Z","etag":null,"topics":["gke","gke-helmsman","google-cloud-platform","kubernetes","kubernetes-engine","networking","routing","vpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-23T21:07:38.000Z","updated_at":"2024-12-22T19:50:27.000Z","dependencies_parsed_at":"2023-02-13T01:45:39.462Z","dependency_job_id":"9a94d0d3-c3d6-4bfa-9438-f145bf987c31","html_url":"https://github.com/GoogleCloudPlatform/gke-networking-demos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fgke-networking-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fgke-networking-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fgke-networking-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fgke-networking-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/gke-networking-demos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246911052,"owners_count":20853652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gke","gke-helmsman","google-cloud-platform","kubernetes","kubernetes-engine","networking","routing","vpn"],"created_at":"2024-08-01T12:01:28.547Z","updated_at":"2025-04-02T23:31:36.801Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Kubernetes Engine Networking\n\n\n## Introduction\n\nGoogle cloud networking with Kubernetes Engine clusters can\nbe complex. Assigning optimal CIDR ranges for the relevant VPC subnets\nand the Kubernetes Engine clusters' reserved IP ranges from the start is very important\nsince VPC subnets are not always easy to resize and the cluster's reserved\nIP ranges are immutable. Using the correct method to expose the applications\nin the cluster is important as every method was designed for a different\nset of use cases.\n\nThe demos in the project demonstrate the following best practices:\n\n1. Connecting two GCP networks using VPC peering and Cloud VPN containing two Kubernetes Engine clusters each.\n1. Deploying the nginx pods.\n1. Exposing the pods using Kubernetes Engine services\n1. Validating pod-to-service communication across the Kubernetes Engine clusters within the same region and the different regions.\n\n## Prerequisites\n\n### Tools\n1. [Google Cloud SDK version \u003e= 253.0.0](https://cloud.google.com/sdk/docs/downloads-versioned-archives)\n2. [kubectl matching the latest GKE version](https://kubernetes.io/docs/tasks/tools/install-kubectl/)\n3. bash or bash compatible shell\n4. [jq](https://stedolan.github.io/jq/)\n\n#### Install Cloud SDK\nThe Google Cloud SDK is used to interact with your GCP resources.\n[Installation instructions](https://cloud.google.com/sdk/downloads) for multiple platforms are available online.\n\n#### Install kubectl CLI\nThe kubectl CLI is used to interteract with both Kubernetes Engine and kubernetes in general.\n[Installation instructions](https://cloud.google.com/kubernetes-engine/docs/quickstart)\nfor multiple platforms are available online.\n\n## Directory Structure\n1. The [gke-to-gke-peering](gke-to-gke-peering) and [gke-to-gke-vpn](gke-to-gke-vpn) folders each contain a project.\n1. README files exist for the above examples; [gke-to-gke-peering/README.md](gke-to-gke-peering/README.md) and [gke-to-gke-vpn/README.md](gke-to-gke-vpn/README.md).\n1. The [network](network) folder contains the manifest files and deployment manager templates to setup networks.\n1. The [clusters](clusters) folder contains the manifest files and deployment manager templates to create Kubernetes Engine clusters.\n1. The [manifests](clusters) folder contains the manifest files to create Kubernetes Engine services.\n\n\n**This is not an officially supported Google product**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fgke-networking-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoogleCloudPlatform%2Fgke-networking-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fgke-networking-demos/lists"}