
Learn to implement ci/cd on Azure Kubernetes Service using Jenkins for a microservice architecture, deploying a sample app and following hands-on steps from a Microsoft workshop.
Create an Azure container registry in the portal by selecting the subscription and resource group, naming it globally, choosing Western Europe, validating, and completing creation; note the log in server.
Install Jenkins on an Azure virtual machine by creating a resource group and VM, install Java, and configure Jenkins from the latest project packages. Open port 8080 and access Jenkins.
Configure Jenkins after installation by unlocking with the initial admin password, then add a service principal in Active Directory and credentials to push images to the container registry.
Create a Jenkins freestyle project to implement continuous integration and continuous development by building a container image from GitHub changes, pushing it to a registry, and deploying the app.
Configure a Jenkins CI pipeline to build and tag a docker image named rating web, log in to the ACR, and push the image using the build number.
Add a Jenkins deploy step to pull the image from the ASER container registry and deploy it to the Kubernetes cluster with kubectl.
Troubleshoot Jenkins builds, fix Docker permission errors, configure the Docker group for the Jenkins user, and successfully build and push images to the container registry.
Learn how to authenticate an aks cluster with a Jenkins service principal, obtain kubeconfig credentials via az aks get-credentials, and assign cluster user roles for non-interactive access.
Authenticate AKS with a service principal, configure Jenkins credentials, build and push a container image to a registry, and deploy to the designated Kubernetes namespace.
Integrate Jenkins with GitHub to automatically trigger your CI/CD pipeline on code pushes, building images, pushing to a container registry, and updating deployments in the cluster.
Watch the end-to-end flow as a developer edits code in Visual Studio Code, commits to GitHub, and Jenkins builds and deploys a new container image to the cluster.
Conclude with an end-to-end microservice deployment on Azure Kubernetes Service, secure data with SSL, and explore CI/CD using Jenkins in a hands-on workshop.
This is a hand's on lab where we will look at all the considerationw of building a continuous integration, continuous deployment, CI/CD on top of AKS using jenkins.
A developer pushes code changes to Github using Visual studio code. Github communicates the event towards Jenkins, which authenticate against Azure Active Directory. Then Jenkins builds and pushes the output container image artifact to Azure container registry and then deploy the updated image to Azure Kubernetes service cluster.