Docker/Kubernetes with on premise servers

4/16/2019

I have a .NET core web API and Angular 7 app that I need to deploy to multiple client servers, potentially running a plethora of different OS setups.

Dockerising the whole app seems like the best way to handle this, so I can ensure that it all works wherever it goes.

My question is on my understanding of Kubernetes and the distribution of the application. We use Azure Dev Ops for build pipelines, so if I'm correct would it work as follows:

1) Azure Dev Ops builds and deploys the image as a Docker container.
2) Kubernetes could realise there is a new version of the docker image and push this around all of the different client servers?
3) Client specific app settings could be handled by Kubernetes secrets.

Is that a reasonable setup? Have I missed anything? And are there any recommendations on setup/guides I can follow to get started.

Thanks in advance, James

-- jeastham1993
asp.net-core
continuous-deployment
docker
kubernetes

1 Answer

4/17/2019

Azure DevOps will perform the CI part of your pipeline. Once it is completed, Azure DevOps will push images to ACR. CD part should be done either directly from Azure DevOps (You may have to install a private agent on your on-prem servers & configure firewall etc) or Kubernetes native CD tools such as Spinnaker or Jenkins-X. Secrets should be kept in Kubernetes secrets.

-- Janshair Khan
Source: StackOverflow