Fast cloud deployment: CI/CD from an Azure Marketplace partner

Published 08-19-2020 08:35 AM 1,855 Views

The cloud revolution solved one of the basic problems of infrastructure: ensuring scalability easily and simply. With Microsoft Azure services, you can now expand computing capacity on demand. While getting access to extra infrastructure is easier than ever before, the same cannot be said for the deployment tools that take advantage of this infrastructure. That’s where an Azure Marketplace partner like Codefresh can help software developers.

 

Kostis Kapelonis, Developer Advocate at Codefresh, explains how his company’s continuous integration/continuous delivery (CI/CD) solution in the Azure Marketplace helps companies stay competitive by delivering new features to production in a fully automated manner and at a steady pace. Adding new features quickly can help any company adapt and pivot to market needs, offering its customers the best service possible without lengthy delays. Especially in the case of important security updates, the speed at which a company can upgrade systems to a new version is paramount.

 

Codefresh CI/CD has native support for Azure and a heavy focus on cloud services such as Docker containers and Kubernetes clusters. It enables developers to take advantage of Azure services and minimize the time from feature inception to deployment.

 

Codefresh image 1.png

 

 

 

Codefresh acts as a central hub for several related Azure services:
• Developers use Azure Git repositories to create new features for their company
• Codefresh continuously builds and tests the source code from the repository
• New releases of a software product are packaged in one or more Docker containers and stored in Azure Container Registry
• The final release is deployed to Azure Kubernetes

Codefresh can also take advantage of Azure SSO/AD installations to help enterprise companies provide a unified way of credential usage among employees.

 

How to store Docker images in the Azure Container Registry
One of the most basic functions of a CI/CD system is the creation of software artifacts comprising a software application. Especially for cloud services, Docker images have become the de facto standard for application packaging and deployment.

 

Using the Azure Container Registry in Codefresh is a straightforward process. First, you connect your Azure Registry in your Codefresh account using the Integration UI screen.

 

Docker image.png

 

Then you can use the registry in any deployment pipeline, simply by referencing it by name. A starting workflow is one that has only two steps:
• Checking out source code from Azure Git
• Building a Docker image and storing it in the Azure Container Registry.

This can be easily accomplished in Codefresh with a pipeline of two steps (a git-clone step and a build step).

 

Pipeline image.png

 

Each pipeline in Codefresh is defined with declarative YAML format. Here is the respective pipeline definition:


version: "1.0"
stages:
- "clone"
- "build"
steps:
clone:
title: "Cloning repository"
type: "git-clone"
repo: "kostis-codefresh/trivial-go-web"
revision: "master"
stage: "clone"

build:
title: "Building Docker image"
type: "build"
image_name: "my-go-app"
working_directory: "${{clone}}"
tag: "latest"
dockerfile: "Dockerfile"
registry: azure
stage: "build"

 

This pipeline has a clone step that checks out the source code and a build step that creates the Docker image and also pushes it to ACR.

 

Notice the “registry” property in the build steps that define our Azure registry as the target of the Docker push action.

 

After the pipeline has run, the Docker image is stored in the Azure Container Registry.

 

Azure Container Registry.png

 

How to deploy applications to Azure in an automated manner
Creating a Docker image is only one part of the software delivery process. The other part is to deploy the image artifact into production. Codefresh also has native integration for Azure Kubernetes Service (AKS).

 

First, you need to connect your Azure cluster in your Codefresh account.

 

Codefresh account.png

 

Once the cluster is connected, you can easily deploy any application in an ad hoc manner using the deployment GUI of Codefresh.

 

Configure Kubernetes Service.png

 

Manual application deployments are a welcome solution for test environments and quick prototypes, but for production deployments, a delivery pipeline is the better choice, as it completely automates the software delivery process.

 

Image 7- Delivery pipeline.png

 

This delivery pipeline includes an extra deploy step that instructs the Azure Kubernetes cluster to pull the Docker image in the cluster and create an application deployment.

 


Here is the full pipeline definition:

version: "1.0"
stages:
- "clone"
- "build"
steps:
clone:
title: "Cloning repository"
type: "git-clone"
repo: "kostis-codefresh/trivial-go-web"
revision: "master"
stage: "clone"

build:
title: "Building Docker image"
type: "build"
image_name: "my-go-app"
working_directory: "${{clone}}"
tag: "latest"
dockerfile: "Dockerfile"
registry: azure
stage: "build"
deploy_to_aks:
title: Deploy App
type: deploy
stage: deploy
kind: kubernetes
cluster: 'mydemoAkscluster@BizSpark Plus'
namespace: default
service: sample
candidate:
image: '${{build_image}}'
registry: azure

 

Again, notice the “registry” and “cluster” properties that explain how the Docker image deployed to the Azure Kubernetes cluster will also come from the Azure registry.

 

After the pipeline has finished running, you can verify the application deployment from the Codefresh Kubernetes dashboard and get more details such as health status or the number of replicas the application is using:

 

Image 8- Status.png

 

 

Conclusion
Codefresh makes the creation of Docker images and their deployment to Azure a very easy process. With built-in integration for AKS, ACR, Azure SSO, and Azure Git repositories, it is an extremely fast way for companies to take advantage of Azure scalability for any software product in any sector.

 

Create a free Codefresh account today and start deploying applications to Azure now.

%3CLINGO-SUB%20id%3D%22lingo-sub-1528029%22%20slang%3D%22en-US%22%3EFast%20cloud%20deployment%3A%20CI%2FCD%20from%20an%20Azure%20Marketplace%20partner%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1528029%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20cloud%20revolution%20solved%20one%20of%20the%20basic%20problems%20of%20infrastructure%3A%20ensuring%20scalability%20easily%20and%20simply.%20With%20Microsoft%20Azure%20services%2C%20you%20can%20now%20expand%20computing%20capacity%20on%20demand.%20While%20getting%20access%20to%20extra%20infrastructure%20is%20easier%20than%20ever%20before%2C%20the%20same%20cannot%20be%20said%20for%20the%20deployment%20tools%20that%20take%20advantage%20of%20this%20infrastructure.%20That%E2%80%99s%20where%20an%20Azure%20Marketplace%20partner%20like%20Codefresh%20can%20help%20software%20developers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EKostis%20Kapelonis%2C%20Developer%20Advocate%20at%20Codefresh%2C%20explains%20how%20his%20company%E2%80%99s%20continuous%20integration%2Fcontinuous%20delivery%20(CI%2FCD)%20solution%20in%20the%20Azure%20Marketplace%20helps%20companies%20stay%20competitive%20by%20delivering%20new%20features%20to%20production%20in%20a%20fully%20automated%20manner%20and%20at%20a%20steady%20pace.%20Adding%20new%20features%20quickly%20can%20help%20any%20company%20adapt%20and%20pivot%20to%20market%20needs%2C%20offering%20its%20customers%20the%20best%20service%20possible%20without%20lengthy%20delays.%20Especially%20in%20the%20case%20of%20important%20security%20updates%2C%20the%20speed%20at%20which%20a%20company%20can%20upgrade%20systems%20to%20a%20new%20version%20is%20paramount.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazuremarketplace.microsoft.com%2Fen-us%2Fmarketplace%2Fapps%2Fcodefresh-inc.cf-az-3%3Focid%3DGTMRewards_Blog_cf-az-3_0bd7%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECodefresh%20CI%2FCD%3C%2FA%3E%20has%20native%20support%20for%20Azure%20and%20a%20heavy%20focus%20on%20cloud%20services%20such%20as%20Docker%20containers%20and%20Kubernetes%20clusters.%20It%20enables%20developers%20to%20take%20advantage%20of%20Azure%20services%20and%20minimize%20the%20time%20from%20feature%20inception%20to%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Codefresh%20image%201.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211039iE9D3C1FD31E6C3E9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Codefresh%20image%201.png%22%20alt%3D%22Codefresh%20image%201.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECodefresh%20acts%20as%20a%20central%20hub%20for%20several%20related%20Azure%20services%3A%3CBR%20%2F%3E%E2%80%A2%20Developers%20use%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fdocs%2Fdocs%2Fintegrations%2Fgit-providers%2F%23azure-devops%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAzure%20Git%3C%2FA%3E%20repositories%20to%20create%20new%20features%20for%20their%20company%3CBR%20%2F%3E%E2%80%A2%20Codefresh%20continuously%20builds%20and%20tests%20the%20source%20code%20from%20the%20repository%3CBR%20%2F%3E%E2%80%A2%20New%20releases%20of%20a%20software%20product%20are%20packaged%20in%20one%20or%20more%20Docker%20containers%20and%20stored%20in%20Azure%20Container%20Registry%20%3CBR%20%2F%3E%E2%80%A2%20The%20final%20release%20is%20deployed%20to%20Azure%20Kubernetes%3C%2FP%3E%0A%3CP%3ECodefresh%20can%20also%20take%20advantage%20of%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fdocs%2Fdocs%2Fenterprise%2Fsingle-sign-on%2Fsso-azure%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAzure%20SSO%2FAD%3C%2FA%3E%20installations%20to%20help%20enterprise%20companies%20provide%20a%20unified%20way%20of%20credential%20usage%20among%20employees.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EHow%20to%20store%20Docker%20images%20in%20the%20Azure%20Container%20Registry%3C%2FSTRONG%3E%3CBR%20%2F%3EOne%20of%20the%20most%20basic%20functions%20of%20a%20CI%2FCD%20system%20is%20the%20creation%20of%20software%20artifacts%20comprising%20a%20software%20application.%20Especially%20for%20cloud%20services%2C%20Docker%20images%20have%20become%20the%20de%20facto%20standard%20for%20application%20packaging%20and%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUsing%20the%20Azure%20Container%20Registry%20in%20Codefresh%20is%20a%20straightforward%20process.%20First%2C%20you%20connect%20your%20Azure%20Registry%20in%20your%20Codefresh%20account%20using%20the%20Integration%20UI%20screen.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Docker%20image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211048i9B88887767215C10%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Docker%20image.png%22%20alt%3D%22Docker%20image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20you%20can%20use%20the%20registry%20in%20any%20deployment%20pipeline%2C%20simply%20by%20referencing%20it%20by%20name.%20A%20starting%20workflow%20is%20one%20that%20has%20only%20two%20steps%3A%3CBR%20%2F%3E%E2%80%A2%20Checking%20out%20source%20code%20from%20Azure%20Git%3CBR%20%2F%3E%E2%80%A2%20Building%20a%20Docker%20image%20and%20storing%20it%20in%20the%20Azure%20Container%20Registry.%3C%2FP%3E%0A%3CP%3EThis%20can%20be%20easily%20accomplished%20in%20Codefresh%20with%20a%20pipeline%20of%20two%20steps%20(a%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fdocs%2Fdocs%2Fcodefresh-yaml%2Fsteps%2Fgit-clone%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Egit-clone%3C%2FA%3E%20step%20and%20a%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fdocs%2Fdocs%2Fcodefresh-yaml%2Fsteps%2Fbuild%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ebuild%3C%2FA%3E%20step).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Pipeline%20image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211047iC86DBF09B869CF87%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Pipeline%20image.png%22%20alt%3D%22Pipeline%20image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEach%20pipeline%20in%20Codefresh%20is%20defined%20with%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fdocs%2Fdocs%2Fcodefresh-yaml%2Fwhat-is-the-codefresh-yaml%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Edeclarative%20YAML%20format%3C%2FA%3E.%20Here%20is%20the%20respective%20pipeline%20definition%3A%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3Eversion%3A%20%221.0%22%3CBR%20%2F%3Estages%3A%3CBR%20%2F%3E-%20%22clone%22%3CBR%20%2F%3E-%20%22build%22%3CBR%20%2F%3Esteps%3A%3CBR%20%2F%3Eclone%3A%3CBR%20%2F%3Etitle%3A%20%22Cloning%20repository%22%3CBR%20%2F%3Etype%3A%20%22git-clone%22%3CBR%20%2F%3Erepo%3A%20%22kostis-codefresh%2Ftrivial-go-web%22%3CBR%20%2F%3Erevision%3A%20%22master%22%3CBR%20%2F%3Estage%3A%20%22clone%22%3C%2FP%3E%0A%3CP%3Ebuild%3A%3CBR%20%2F%3Etitle%3A%20%22Building%20Docker%20image%22%3CBR%20%2F%3Etype%3A%20%22build%22%3CBR%20%2F%3Eimage_name%3A%20%22my-go-app%22%3CBR%20%2F%3Eworking_directory%3A%20%22%24%7B%7Bclone%7D%7D%22%3CBR%20%2F%3Etag%3A%20%22latest%22%3CBR%20%2F%3Edockerfile%3A%20%22Dockerfile%22%3CBR%20%2F%3Eregistry%3A%20azure%3CBR%20%2F%3Estage%3A%20%22build%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20pipeline%20has%20a%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fsteps%2Fstep%2Fgit-clone%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eclone%20step%3C%2FA%3E%20that%20checks%20out%20the%20source%20code%20and%20a%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fsteps%2Fstep%2Fbuild%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ebuild%20step%3C%2FA%3E%20that%20creates%20the%20Docker%20image%20and%20also%20pushes%20it%20to%20ACR.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENotice%20the%20%E2%80%9Cregistry%E2%80%9D%20property%20in%20the%20build%20steps%20that%20define%20our%20Azure%20registry%20as%20the%20target%20of%20the%20Docker%20push%20action.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20the%20pipeline%20has%20run%2C%20the%20Docker%20image%20is%20stored%20in%20the%20Azure%20Container%20Registry.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Azure%20Container%20Registry.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211046i83D931E3CEA21347%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Azure%20Container%20Registry.png%22%20alt%3D%22Azure%20Container%20Registry.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EHow%20to%20deploy%20applications%20to%20Azure%20in%20an%20automated%20manner%3C%2FSTRONG%3E%3CBR%20%2F%3ECreating%20a%20Docker%20image%20is%20only%20one%20part%20of%20the%20software%20delivery%20process.%20The%20other%20part%20is%20to%20deploy%20the%20image%20artifact%20into%20production.%20Codefresh%20also%20has%20native%20integration%20for%20Azure%20Kubernetes%20Service%20(AKS).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFirst%2C%20you%20need%20to%20connect%20your%20Azure%20cluster%20in%20your%20Codefresh%20account.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Codefresh%20account.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211045i30F1DFF7A4C96085%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Codefresh%20account.png%22%20alt%3D%22Codefresh%20account.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20cluster%20is%20connected%2C%20you%20can%20easily%20deploy%20any%20application%20in%20an%20ad%20hoc%20manner%20using%20the%20deployment%20GUI%20of%20Codefresh.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Configure%20Kubernetes%20Service.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211044iFAC0B24C55B073FC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Configure%20Kubernetes%20Service.png%22%20alt%3D%22Configure%20Kubernetes%20Service.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EManual%20application%20deployments%20are%20a%20welcome%20solution%20for%20test%20environments%20and%20quick%20prototypes%2C%20but%20for%20production%20deployments%2C%20a%20delivery%20pipeline%20is%20the%20better%20choice%2C%20as%20it%20completely%20automates%20the%20software%20delivery%20process.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Image%207-%20Delivery%20pipeline.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211043i2FA66DB3A5A1C604%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Image%207-%20Delivery%20pipeline.png%22%20alt%3D%22Image%207-%20Delivery%20pipeline.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20delivery%20pipeline%20includes%20an%20extra%20%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fsteps%2Fstep%2Fdeploy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Edeploy%20step%3C%2FA%3E%20that%20instructs%20the%20Azure%20Kubernetes%20cluster%20to%20pull%20the%20Docker%20image%20in%20the%20cluster%20and%20create%20an%20application%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EHere%20is%20the%20full%20pipeline%20definition%3A%3C%2FP%3E%0A%3CP%3Eversion%3A%20%221.0%22%3CBR%20%2F%3E%3CBR%20%2F%3Estages%3A%3CBR%20%2F%3E%3CBR%20%2F%3E-%20%22clone%22%3CBR%20%2F%3E%3CBR%20%2F%3E-%20%22build%22%3CBR%20%2F%3E%3CBR%20%2F%3Esteps%3A%3CBR%20%2F%3E%3CBR%20%2F%3Eclone%3A%3CBR%20%2F%3E%3CBR%20%2F%3Etitle%3A%20%22Cloning%20repository%22%3CBR%20%2F%3E%3CBR%20%2F%3Etype%3A%20%22git-clone%22%3CBR%20%2F%3E%3CBR%20%2F%3Erepo%3A%20%22kostis-codefresh%2Ftrivial-go-web%22%3CBR%20%2F%3E%3CBR%20%2F%3Erevision%3A%20%22master%22%3CBR%20%2F%3E%3CBR%20%2F%3Estage%3A%20%22clone%22%3C%2FP%3E%0A%3CP%3Ebuild%3A%3CBR%20%2F%3Etitle%3A%20%22Building%20Docker%20image%22%3CBR%20%2F%3Etype%3A%20%22build%22%3CBR%20%2F%3Eimage_name%3A%20%22my-go-app%22%3CBR%20%2F%3Eworking_directory%3A%20%22%24%7B%7Bclone%7D%7D%22%3CBR%20%2F%3Etag%3A%20%22latest%22%3CBR%20%2F%3Edockerfile%3A%20%22Dockerfile%22%3CBR%20%2F%3Eregistry%3A%20azure%3CBR%20%2F%3Estage%3A%20%22build%22%3CBR%20%2F%3Edeploy_to_aks%3A%3CBR%20%2F%3Etitle%3A%20Deploy%20App%3CBR%20%2F%3Etype%3A%20deploy%3CBR%20%2F%3Estage%3A%20deploy%3CBR%20%2F%3Ekind%3A%20kubernetes%3CBR%20%2F%3Ecluster%3A%20'mydemoAkscluster%40BizSpark%20Plus'%3CBR%20%2F%3Enamespace%3A%20default%3CBR%20%2F%3Eservice%3A%20sample%3CBR%20%2F%3Ecandidate%3A%3CBR%20%2F%3Eimage%3A%20'%24%7B%7Bbuild_image%7D%7D'%3CBR%20%2F%3Eregistry%3A%20azure%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAgain%2C%20notice%20the%20%E2%80%9Cregistry%E2%80%9D%20and%20%E2%80%9Ccluster%E2%80%9D%20properties%20that%20explain%20how%20the%20Docker%20image%20deployed%20to%20the%20Azure%20Kubernetes%20cluster%20will%20also%20come%20from%20the%20Azure%20registry.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20the%20pipeline%20has%20finished%20running%2C%20you%20can%20verify%20the%20application%20deployment%20from%20the%20Codefresh%20Kubernetes%20dashboard%20and%20get%20more%20details%20such%20as%20health%20status%20or%20the%20number%20of%20replicas%20the%20application%20is%20using%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Image%208-%20Status.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211042iA74725F9B53D40E4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Image%208-%20Status.png%22%20alt%3D%22Image%208-%20Status.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EConclusion%3C%2FSTRONG%3E%3CBR%20%2F%3ECodefresh%20makes%20the%20creation%20of%20Docker%20images%20and%20their%20deployment%20to%20Azure%20a%20very%20easy%20process.%20With%20built-in%20integration%20for%20AKS%2C%20ACR%2C%20Azure%20SSO%2C%20and%20Azure%20Git%20repositories%2C%20it%20is%20an%20extremely%20fast%20way%20for%20companies%20to%20take%20advantage%20of%20Azure%20scalability%20for%20any%20software%20product%20in%20any%20sector.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcodefresh.io%2Fcodefresh-signup%2F%3Futm_source%3DBlog%26amp%3Butm_medium%3DPost%26amp%3Butm_campaign%3DimageApiRoadmaphttps%3A%2F%2Fcodefresh.io%2Fcodefresh-signup%2F%3Futm_source%3DBlog%26amp%3Butm_medium%3DPost%26amp%3Butm_campaign%3Dazurestory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ECreate%20a%20free%20Codefresh%20account%3C%2FA%3E%20today%20and%20start%20deploying%20applications%20to%20Azure%20now.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1528029%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Codefresh%20image%201.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F211040i6E5A52DC4E806D47%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Codefresh%20image%201.png%22%20alt%3D%22Codefresh%20image%201.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20this%20blog%20post%20focusing%20on%20Codefresh%2C%20find%20out%20how%20Codefresh%20CI%2FCD%20and%20Microsoft%20Azure%20services%20help%20developers%20minimize%20the%20time%20from%20feature%20inception%20to%20deployment.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1528029%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPartner%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Aug 19 2020 08:35 AM
Updated by: