Coder Social home page Coder Social logo

isabella232 / solutions-multicluster-gke-migration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/solutions-multicluster-gke-migration

0.0 0.0 0.0 46 KB

License: Apache License 2.0

Smarty 4.07% Shell 58.05% HCL 37.88%

solutions-multicluster-gke-migration's Introduction

Migrating workloads to a multi-cluster GKE environment with Multi-Cluster Services and Multi-Cluster Ingress

This tutorial demonstrates how to use Multi-Cluster Services (MCS) and Multi-Cluster Ingress (MCI) to migrate workloads from a single-cluster Google Kubernetes Engine (GKE) environment to a multi-cluster GKE environment.

For a detailed explaination, refer to the following documents:

The tutorial guides you through a migration process. During the migration process, you provision the environment with Terraform.

The scripts mentioned in this README show guidance and help when you execute them without arguments. Follow that guidance to set the right command options.

Dependencies

For this tutorial, you need the following tools:

  • A POSIX-compliant shell.
  • Google Cloud SDK (tested with version 271.0.0).
  • Terraform (tested with version v0.15.0), if you prefer provisioning the environment with Terraform.

Provisioning the environment with Terraform

If you prefer using Terraform to provision the environment for the tutorial, you:

  1. Change your working directory to the root of this repository.
  2. Initialize the default Google Cloud: gcloud auth application-default login
  3. Initialize Terraform: scripts/init-terraform.sh
  4. Change your working directory to the terraform directory: cd terraform
  5. Ensure the configuration is valid: terraform validate
  6. Apply the changes: terraform apply

Registering the Config cluster, enabling MCI and MCS

To register the Config cluster, you:

  1. Change your working directory to the root of this repository.
  2. Run: scripts/mci-mcs.sh

Deploying workloads

To deploy an example workload in the clusters you create:

  1. Change your working directory to the root of this repository.
  2. Deploy the workloads: scripts/workloads.sh

solutions-multicluster-gke-migration's People

Contributors

ferrarimarco avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.