Home > OS >  Azure Devops release pipeline for local on-demand kubernetes deployment
Azure Devops release pipeline for local on-demand kubernetes deployment

Time:01-02

I am using Azure DevOps on cloud for my test microservice app. So I am using my own machine as agent to build operations. And I created a kubernetes cluster on minikube with hyperv driver. So I want to crate a release pipeline and deploy to my local kubernetes. Is this possible?

CodePudding user response:

As per your question, it is possible to create a release pipeline and you can deploy to your local kubernetes by referring to link1 and link2 .

CodePudding user response:

According to your description, you can try to create a new Kubernetes service connection in your project with the "KubeConfig" or "Service Account" option. It should be from your Kubernetes cluster.

After the service connection created, you can use the "Kubectl" task in the release pipeline to deploy your local kubernetes.

For more information, you could refer to: Kubernetes service connection.

  • Related