Complete Guide to Azure Kubernetes Service - Elastic & K8S
- Description
- Curriculum
- FAQ
- Reviews
Kubernetes is a buzz word, whosoever deals managing multiple containers and think of better orchestrating the containers. Kubernetes is the platform, however Kubernetes is not an easy to learn, this course has been tailor made to keep the course really simple and easy.
This course helps you learn Kubernetes fundamentals right from scratch, Azure Kubernetes Service (AKS) makes deploying and managing containerised applications easy. It offers serverless Kubernetes, backed by power of Azure leveraging features like Active Directory to control fine grained access on who has access to what.
How the course is shaped?
-
We start off writing terraform script to spin up Azure kubernetes Service along with Azure Container Registry.
-
Generate secrets for AKS to get deployed.
-
Deploy Kubernetes Cluster on Azure
-
Introduction to Kubernetes Dashboard
-
Deploy dashboard on Azure Kubernetes Service
-
We push docker images to Azure Container Registry
-
We start with the fundamentals of kubernetes like namespaces, deployment, services, statefulsets, pods, configmaps
-
and then the fun part where we start off with deploying workloads on AKS just like you would do it on a production system.
-
we join the services and get the Kibana UI up and running.
-
We use rolling update and replica sets to keep the service highly available.
-
Use a static public IP address and DNS label with the Azure Kubernetes Service (AKS) load balancer
This course is one of the few in the marketplace, where it is being regularly updated almost realtime basis as soon as the publisher launch any new set of feature, we make sure learner enrolling into the course get the best out of the content.
We also as a team strive be customer focused by making sure whatever queries are being put on direct messages or in community, we try to get back to the learner within 24 hours if not early, there have been scenarios where in our instructors have been on screen sharing session with the users and helped them solving the problems.
-
1Introduction to the CourseVideo lesson
What are we going to learn, who is going to teach what? what will be the key take aways?
This videos answers all of these question within 5 minutes, make sure you don't miss it.
-
2Get started with Azure Kubernetes ServiceVideo lesson
Kubernetes is a buzz word, it is the defacto tool to manage the containers however it is not easy to manage as it requires lot of skill sets. Azure Kubernetes Service (AKS) makes deploying and managing containerised applications easy. It offers serverless Kubernetes, an integrated continuous integration and continuous delivery (CI/CD) experience and enterprise-grade security and governance.
In this video we will talk about the architecture of Kubernetes.
Fun Fact:
Did you know with Azure kubernetes Service you don't need to manage and pay for master node? you heard it right Azure manages the master node itself and you only take care of worker nodes.
-
3Write Terraform Code to spin AKSVideo lesson
Creating an AKS has never been so easy, in this video, we are going to write terraform scripts right from scratch to build a brand new Azure Kubernetes Cluster.
Just in case you don't have terraform installed, you may install it using brew package manager > "brew install terraform"
What are we going to build?
Azure Resource Group
Virtual Network
Subnet
Public IP Address
Log Analytics workspace
Log analytics solution
Azure Kubernetes Service
Azure Container Registry
-
4Azure Secrets to deploy Kubernetes ClusterVideo lesson
To interact with Azure APIs, an AKS cluster requires a service principal or managed identity to talk the Azure Kubernetes Cluster.
In this video we are going to learn how we are going to generate client ID and secrets for AKS and then deploy the Azure Kubernetes cluster.
How do you generate secrets:
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/SUBSCRIPTION_ID
Fun Fact:
Do you know why Kubernetes called as K8S? between K and S there are 8 alphabets
-
5Accessing Azure Kubernetes ClusterVideo lesson
You have just built a brand new Kubernetes cluster how do you access it? to connect to your Kubernetes cluster, use the az aks get-credentials command. This video shows you how you can access your Azure Kubernetes Cluster.
Command:
az aks get-credentials --resource-group <your resource group name> --name <kubernetes cluster name>
Kubectl get <object>
<object> could be pod, services, namespaces
-
6Kubernetes DashboardVideo lesson
This video teaches us about the deployment of dashboard on Azure Kubernetes Services and leverage the power of kubernetes dashboard to deploy and troubleshoot your applications.
How do you create and access dashboards:
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/72832429656c74c4c568ad5b7163fa9716c3e0ec/src/deploy/recommended/kubernetes-dashboard-arm.yaml
kubectl create serviceaccount dashboard -n default
kubectl create clusterrolebinding dashboard-admin -n default
--clusterrole=cluster-admin
--serviceaccount=default:dashboard
kubectl get secret $(kubectl get serviceaccount dashboard -o jsonpath="{.secrets[0].name}") -o jsonpath="{.data.token}" | base64 --decode
-
7Azure Container RegistryVideo lesson
Where do you store your docker images? how do you make sure only authorised users are allowed to push - pull docker images, Azure container Registry helps in Build, store, secure, scan, replicate and manage container images and artifacts with a fully managed, geo-replicated instance of OCI distribution.
Login to ACR:
az acre --name <name of the ACR>
-
8Kubernetes NamespacesVideo lesson
If you have a shared Kubernetes Cluster and make sure that you segregate different workload, namespace is the object you would rely on achieve the separation.
-
9Namespace: DemoVideo lesson
You learnt what is namespace, but how do you create it? how do make sure you separate objects into different namespaces. In this video we are going to learn how to create the namespace.
Kubernetes manifests are used to create, modify and delete Kubernetes resources such as pods, deployments, services or ingresses.The manifests are yaml files to perform any CRUD operation on the Kubernetes cluster
How do you get the list of namespaces:
Kubectl get namespaces
Fun Fact: did you know you can manage Azure Kubernetes namespaces you a third party utility ? Kubens
-
10Kubernetes PodsVideo lesson
Smallest deployable object, representing single instance of running process in the cluster
1:1 mapping with your container
Initially define resource request like CPU, Memory
Ephemeral in nature
-
11DeploymentVideo lesson
Upgrade your apps with 0-minimal downtime
Apt for stateless application like front ends,web apps.
Maintains multiple replicas of your apps
Automatic rollbacks if any instance fails or become unresponsive
-
12ServicesVideo lesson
A bridge to talk to your application/pod
How do external user access your application?
How do you expose your application?
Can you put an IP address with a deployment?
-
13Service: DemoVideo lesson
In this video we are going to deploy Kubernetes Service
-
14Azure Persistent VolumeVideo lesson
How do you create a persistent storage?
How do you preserve your data for as long as you want?
Do you care when your POD is gone and loose data along with it?
What type of persistent storage you select?
-
15ConfigMap: DemoVideo lesson
ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments, or as configuration files in a volume.
ConfigMap allows you to decouple environment-specific configuration from your container images, so that your applications are easily portable and can be reused if needed
-
16Writing StatefulSets ManifestVideo lesson
Why do you need a stateful state if you have a deployment as a controller?
How do you manage a POD which needs to have persistent storage?
What happens to the data disk when a POD is deleted/evicted?
Kubernetes manifests are used to create, modify and delete Kubernetes resources such as pods, deployments, services or ingresses.The manifests are yaml files to perform any CRUD operation on the Kubernetes cluster
-
17Deploy StatefulSets: ElasticsearchVideo lesson
Learn how to deploy StatefulSets.
-
18Pod in error state: CrashloopbackVideo lesson
When a pod gets into the err state how do you get the pod back into the running state? This video answers the question
-
19Expose an internal app: Loadbalancer ServiceVideo lesson
When creating a service, you have the option of automatically creating a cloud network load balancer. This provides an externally-accessible IP address that sends traffic to the correct port on your cluster nodes so that you can access the service over the internet.
-
20Kibana Manifest: Deployment & LoadbalancerVideo lesson
This video describes how to write manifests and roll out deployments on Kubernetes cluster.
-
21RollingUpdate: Create ReplicasVideo lesson
How do you make sure you have multiple copies of your application, how do you make sure when you upgrade your apps on kubernetes service they don't go through any downtime. This video helps us answer all of those questions
-
22Azure StaticIP:Loadbalancer ServiceVideo lesson
By default, the public IP address assigned to a load balancer resource created by an AKS cluster is only valid for the lifespan of that resource. If you delete the Kubernetes service, the associated load balancer and IP address are also deleted. If you want to assign a specific IP address or retain an IP address for redeployed Kubernetes services, you can create and use a static public IP address.
This video shows you how to create a static public IP address and assign it to your Kubernetes service.
-
23Logstash: DemoVideo lesson
Logstash is an open source, server-side data processing pipeline that ingests data from a multitude of sources simultaneously, transforms it, and then sends it to your favorite "stash."
-
24AKS Container MonitoringVideo lesson
Azure Monitor for containers, you can use the performance charts and health status to monitor the workload of Kubernetes clusters hosted on Azure Kubernetes Service (AKS), Azure Stack, or other environment from two perspectives. You can monitor directly from the cluster, or you can view all clusters in a subscription from Azure Monitor. Viewing Azure Container Instances is also possible when monitoring a specific AKS cluster.
External Links May Contain Affiliate Links read more