Deploy Azure Kubernetes Service(AKS) Cluster using Terraform and Azure DevOps YAML Pipeline
Ғылым және технология
Azure Kubernetes Service (AKS) simplifies deploying a managed Kubernetes cluster in Azure by offloading the operational overhead to Azure. As a hosted Kubernetes service, Azure handles critical tasks, like health monitoring and maintenance. Since Kubernetes masters are managed by Azure, you only manage and maintain the agent nodes.
GitHub Repo for Terraform and PowerShell resources:
github.com/schoudhary22/AKS-T...
Other Azure and DevOps videos:
/ @shailenderchoudhary1988
#azure #aks #kubernetes #terraform #yaml #pipeline #release #devops #security #devsecops #cloud #cicd
Пікірлер: 17
Very well explained! Kudos.
Nicely done, Thank you so much
excellent video bro, need more videos from yo
Nice video ,well explained
Great Content Shailendra.. keep up the good work First time on your channel and subscribed..
@shailenderchoudhary1988
2 жыл бұрын
Thanks Azam... I am glad you liked the videos. Please check more videos in the playlist.
Thnks
Hi Shailendra , great video . I have a similar requirement, but after the aks creation I also need to deploy some docker images into the aks namespace thus creating workloads and services … so I know this can be done with kubernetes provider within the same main.tf file …but for this we need the aks config file to connect to the aks cluster … I have a terraform script that does all these tasks and it works fine in bash and al but I am confused how to get this aks credentials in azure devops pipeline .. Do you have any advice ? Thanks in advance
hi thanks for the video.. I have a question in the Kubernetes manifest file i want to use the Latest Image tag version from the ACR everytime i run the Deployment manifest file. how can i achieve this?
Can we do multiple cluster at time?
Shailender Can you kindly share that terraform code and yaml pipeline that would helpful
Sir can i use this resources for writing blog?
How can i get id values
hello, can i follow this tutorial for free with azure student?
@shailenderchoudhary1988
2 жыл бұрын
Yes, when you signup for Azure, you get 200USD credits which will be more than enough to practice AKS.
Hi Getting below Read error when i try to execute for Azure Devops Pipeline. When i run it from VS code it works . But when i run it as pipeline its failing . data.azurerm_key_vault.azure_vault: Reading... data.azurerm_key_vault.azure_vault: Read complete after 1s [id=/subscriptions/-ac4c1646d966/resourceGroups/aksdemo-rg/providers/Microsoft.KeyVault/vaults/aksdemocluster-kv28] data.azurerm_key_vault_secret.spn_id: Reading... data.azurerm_key_vault_secret.ssh_public_key: Reading... data.azurerm_key_vault_secret.spn_secret: Reading... ╷ │ Warning: Argument is deprecated │ │ with azurerm_kubernetes_cluster.aks_cluster, │ on main.tf line 40, in resource "azurerm_kubernetes_cluster" "aks_cluster": │ 40: resource "azurerm_kubernetes_cluster" "aks_cluster" { │ │ `role_based_access_control` is deprecated in favour of the properties │ `role_based_access_control_enabled` and │ `azure_active_directory_role_based_access_control` and will be removed in │ version 3.0 of the AzureRM provider ╵ ╷ │ Error: making Read request on Azure KeyVault Secret akssshpubkey: keyvault.BaseClient#GetSecret: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="Forbidden" Message="The user, group or application 'appid=***;oid=301420d7c5e3;iss=sts.windows.net/5ced883/' does not have secrets get permission on key vault 'aksdemocluster-kv28;location=eastus'. For help resolving this issue, please see go.microsoft.com/fwlink/?linkid=2125287" InnerError={"code":"AccessDenied"} │ │ with data.azurerm_key_vault_secret.ssh_public_key, │ on main.tf line 6, in data "azurerm_key_vault_secret" "ssh_public_key": │ 6: data "azurerm_key_vault_secret" "ssh_public_key" { │ ╵ ╷