Giter Club home page Giter Club logo

aks-dual-cluster's Introduction

Azure Kubernetes Service (AKS) Dual Cluster Deployment

This azure cli script and ARM template deploys two AKS clusters, each in a different region. Each cluster has a private VNET attached, and VNET peering is established. Containers running in Site1 can talk to containers running in Site2 across the VNET

Prerequisites

  1. As the azure cli does not yet allow for OMS Workspace creation, you will need to create that manually (or via powershell) and update the script with the corresponding values before deployment

  2. install docker client on local host:

sudo apt-get install docker
  1. install the json query tool on local host:
sudo apt-get install jq
  1. install the azure cli on local host:
sudo apt-get install azure-cli
  1. install kubectl on local host:
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/

Deployment

  1. Amend the script to use a unique name for your deployment:
declare uniqueName="sunday"
  1. Amend the script and add a kubernetes admin password:
declare secret="YOUR_PASSWORD_HERE"
  1. Amend the script and provide your OMS workspace parameters:
declare workspaceName="YOUR_WORKSPACE_HERE"
declare omsWorkspaceId="YOUR_WORKSPACE_ID_HERE"
declare workspaceRegion="YOUR_WORKSPACE_REGION_HERE"
  1. Run the script:
./aks-dual-clusher.sh

aks-dual-cluster's People

Contributors

nzregs avatar

Watchers

 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.