Code Monkey home page Code Monkey logo

ross-p-smith / aks-quickstart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jimpaine/aks-quickstart

0.0 1.0 0.0 1.07 MB

This quick start is aimed to take the provisioning of AKS beyond a simple "az aks create" command and to include the minimum that most of my customers have required for a production workload. I am also working on a different deployment model for AKS to sit in a hub and spoke architecure and will update with a link to the repository when it is complete. This example already includes a range of useful features which should help most people move forward with producing a production like environment.

License: MIT License

aks-quickstart's Introduction

AKS real world quick start

This quick start is aimed to take the provisioning of AKS beyond a simple "az aks create" command and to include the minimum that most of my customers have required for a production workload. I am also working on a different deployment model for AKS to sit in a hub and spoke architecure and will update with a link to the repository when it is complete. This example already includes a range of useful features which should help most people move forward with producing a production like environment.

architecture

Build Status

Current features

  • RBAC cluster
  • Helm and Tiller included in the cluster
    • Tiller per namespace with relevant Service Account and role bindings
  • Generation of SSH keys
  • Traefik for ingress
  • Cluster on a dedicated VNet
  • Created Service Principal for cluster nodes
  • Service Principal assigned as Network Contributor with Resource Group
  • Application Gateway V2 with WAF in front of Traefik
  • Custom domain on App Gateway
  • Creation and assignment of DNS record
  • Creation and assignment of Let's Encrypt certificate to App Gateway
  • Monitoring solutions installed
    • Container Insights through Azure Monitor
    • Monitoring Metrics Publisher
  • Demo App
  • Network Policy
    • Accepted policy for Traefik -> api
    • Blocked policy for Traefik -> blocked

Backlog

  • Switch to use Nginx (Used by more customers)
  • Include Pod Identity
  • Once Pod Identity is included switch to use App Gateway as ingress controller
  • Azure AD SPs for Container Registry RBAC. Reader for cluster and Contributor for DevOps Pipeline
  • Dev Spaces
  • Move Service Principal role assignment to Subnet rather than the whole Resource Group

Learnings

Get up and running

Start by cloning or forking this repository, we will then setup Terraform with a Service Principal and a remote storage account, so we can automate the provisioning of the environment.

Steps

aks-quickstart's People

Contributors

jimpaine 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.