GithubHelp home page GithubHelp logo

awesomenix / azk Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 79.74 MB

Create self-managed kubernetes clusters on Azure, with swappable pieces

License: MIT License

Dockerfile 0.49% Makefile 1.21% Go 94.89% HTML 1.85% JavaScript 1.56%
kubernetes azure golang cluster-manager

azk's Introduction

azk

Create Kubernetes Clusters on Azure, with configurable controllers, providing provisioning and beyond management capabilities

Principles

  • Kubernetes Cluster should be self managed, infrastructure as well as applications
  • External sources can only define target behaviour, the cluster strives to reach the target behaviour
  • Extensible to provide new behaviours easily
  • No additional resources created to achieve target behaviour
  • Provide best possible configured kubernetes cluster for desired workload

Architecture

  • azk, a gateway client for cluster management
    • Create
    • Scale
    • Upgrade
    • Renew Certs
    • Deploy addons
    • Delete

Usage

Either use download the release (relatively stable) or

go get -u github.com/awesomenix/azk

Follow the prompts in

azk create flow

Workflow

  • azk checks for existence of target cluster, using resourcegroupname, subscriptionid
  • If the cluster does not exist
    • creates prerequisite resources
      • Generate Certificates
      • Generate Infra management manifests
      • Creates networking base infrastructure
    • bootstraps first master (exactly how HA masters are bootstrapped)
  • Deploys cluster infra management components
  • Yields control to the in cluster infra management component and waits for its completion
  • Supporting controllers will create further changes if required
  • Any future operations are directly communicated with the target customer cluster

Controllers

  • cluster
    Manages base infrastructure like
    • resource group
    • vnet
    • load balancers
    • network security groups
  • nodeset
    Manages set of azure vmss/availability set instances, immutable vm size, immutable kubernetes version
  • nodepool
    Manages node sets, if a vm size/kubernetes version changes, creates a rollout for creating new and deprecating old
  • addonmanager
    Manages addon list, apply/remove addons listed in addons directory (controller by crd instead of directory)

azk's People

Contributors

awesomenix avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

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