Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Azure Meetup - AKS Fundamentals and Deep Dive into Worklods

Azure Meetup - AKS Fundamentals and Deep Dive into Worklods

In this meetup, Patrick Koch is going to talk about the fundamentals of the Azure Kubernetes Service, with a deep dive into Workloads by having a short theoretical session first and a live demonstration afterward.

Content Basics:

What can Kubernetes do for you?
What are the Kubernetes Components? *
How to set up a Kubernetes cluster in Azure using Terraform *
What is the kubeconfig file - what’s its purpose? *
How to use the kubectl tool *
Deep Dive Workloads

What are Workloads
Different types of Workloads
Deploy a Job at a Kubernetes Cluster *
Deploy a StatefulSet at a Kubernetes Cluster *
Deploy a Deployment at a Kubernetes Cluster *
Scale a Workload *

(*) included in the live demonstration

Patrick Koch

March 18, 2023
Tweet

More Decks by Patrick Koch

Other Decks in Technology

Transcript

  1. Azure
    Kubernetes Service
    Fundamentals and
    Deep Dive into
    Workloads
    Source of the Azure, AKS logo:
    https://de.m.wikipedia.org/wiki/Datei:Microsoft_Azure_Logo.svg
    https://azure.microsoft.com/en-ca/products/kubernetes-service/

    View Slide

  2. Content
    Who we are
    What is AKS / What is Kubernetes?
    Kubernetes Components
    Azure Kubernetes Provisioning with Terraform
    Deployment of Workloads
    Source of the Azure logo:
    https://de.m.wikipedia.org/wiki/Datei:Microsoft_Azure_Logo.svg

    View Slide

  3. Microsoft Developer User
    Group Graz
    https://www.meetup.com/de-
    DE/microsoftdevelopergraz/
    @msdevgraz
    Igor
    Bernd
    Patrick
    Source icons:
    https://icons8.de/icons/set/meetup
    https://icons8.de/icons/set/twitter

    View Slide

  4. Thanks to our
    sponsor!

    View Slide

  5. What is Azure Kubernetes Service?
    Source: https://learn.microsoft.com/en-us/azure/aks/intro-kubernetes
    Source of the AKS logo: https://azure.microsoft.com/en-
    ca/products/kubernetes-service/

    View Slide

  6. What is Kubernetes?
    Source of picture:
    https://kubernetes.io/
    The name Kubernetes originates from Greek,
    meaning helmsman or pilot. K8s as an
    abbreviation results from counting the eight
    letters between the "K" and the "s".
    https://kubernetes.io/docs/concepts/overview/
    Google open-sourced the
    Kubernetes project in
    2014.
    https://kubernetes.io/docs/concepts/overview/
    Source:
    https://kubernetes.io/

    View Slide

  7. Kubernetes Components
    Source of picture:
    https://kubernetes.io/docs/concepts/overview/components/

    View Slide

  8. Provisioning an AKS with Terraform
    Source of the Terraform and AKS Logo:
    https://commons.wikimedia.org/wiki/File:Terraform_Logo.svg
    https://azure.microsoft.com/en-ca/products/kubernetes-service/

    View Slide

  9. Workloads
    Source:
    https://kubernetes.io/docs/concepts/workloads/
    apiVersion: batch/v1
    kind: Job
    metadata:
    name: linux-job
    spec:
    template:
    spec:
    containers:
    - name: kilkenny
    image: msdevgrazregistry.azurecr.io/linux:job
    nodeSelector:
    kubernetes.io/os: linux
    restartPolicy: Never
    backoffLimit: 4

    View Slide

  10. apiVersion: batch/v1
    kind: Job
    metadata:
    name: linux-job
    spec:
    template:
    spec:
    containers:
    - name: kilkenny
    image: msdevgrazregistry.azurecr.io/linux:job
    nodeSelector:
    kubernetes.io/os: linux
    restartPolicy: Never
    backoffLimit: 4
    Source: Screenshots from the Azure Portal

    View Slide