GithubHelp home page GithubHelp logo

lm-lab-aks-gitops-devopsupskill's Introduction

AKS and Terraform

This repository shows examples and guides for using Terraform to provision a AKS (Azure Kubernetes Service) Cluster on Azure

As well as the instructions below we've also created a suite of FAQ's that are worth reviewing if you experience any interesting challenges.

Instructions

Pre-requisites

Leading on from session 3 this repository provides instruction for both provisioning your cluster, pushing docker images to your own container registry and adopting a GitOps workflow using ArgoCD

Step 1 - Review the differences

The main difference between this repository and the repository you have previously worked with is that we now also provision a container registry.

Specifically, you'll provision your own Azure Container Registry (ACR)

You can see the new terraform code within the acr.tf file. This will provision a container registry called "devopsupskillregistry" suffixed with a series of random letters.

The reason for the random characters are that container registry names in Azure have to be globally unique so hopefully using the random characters means we won't experience clashes across learners.

Step 2 - Provision your cluster

You have probably destroyed your Kubernetes cluster following the previous session.

Follow through the Provisioning guide to re-provision your Kubernetes cluster.

Step 3 - Build and push your docker image

The next step is to build the docker image locally and push it up to your newly created container registry.

Follow through the Pushing Image Guide for instructions on how to do this.

Step 4 - Deploy and navigate to ArgoCD

Now you can move on to getting the backend API Python app deployed via Argo.

Follow through the Argo setup and configuration steps

Step 5 - Setting up your DevOps workflow in Argo

Great work! If you've got to here you should now be able to see the Argo Dashboard.

All your infrastructure is setup ready to go! Now you can head over to the GitOps repository to setup your workflow.

https://github.com/techreturners/devops-upskill-gitops

FAQs

You can find the FAQs here.

lm-lab-aks-gitops-devopsupskill's People

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.