SlideShare a Scribd company logo
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Marc Müller
Principal Consultant
@muellermarc
▪
▪
▪
▪
▪
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
App1
App2
Build/CI,
Integrate,
Test
3.
1. Monitor and Diagnose
Outer-Loop
Push
Code
Production
environments
Run, Manage
5.
6.
Container Service
Service Fabric
Batch
App Services
Coming soon
…
…
Code
Run
Validate
Debug
Inner-Loop
CD, Deploy
4.
Visual Studio Team Services
Source Code
Control
(SCC)
2.
Azure
Container
Registry
Image Source: https://sec.ch9.ms/sessions/69613110-c334-4f25-bb36-08e5a93456b5/206BuildDebugDeployASPNETCorewithDocker.pptx
VSTS Build
VSTS Release
Management
Docker Registry
Build App
Test
Build Container
Repo
Container Info
Publish to Target
Host
Container Info
Push
Host
Pull
Config
Artifact
Docker with Kubernetes and Visual Studio Team Services (VSTS)
https://docs.microsoft.com/en-us/azure/container-service/kubernetes/container-service-intro-kubernetes
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
Pod
Container
Pod
Container Container
10.0.10.14 10.0.10.16
localhost
Multi container Pods should only be
used for highly coupled containers!
Pod
Container
10.0.10.15
▪
▪
Replication Controller / Deployment
(Replication Set)
Pod Container
Pod Container
Pod Container
▪
▪
▪
▪
▪
▪
▪
▪
▪
Service
Pod Container
Pod Container
Pod Container
A
1.2
A
1.2
A
1.2
A
1.2
▪
▪
▪
▪
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Image Source: https://docs.microsoft.com/en-us/azure/container-service/container-service-intro
VSTS
Azure Resource Group
DCOS Master
DCOS Master
Master
Agent
VSTS Agent
App1
App1
App1
App1
App1
App2
Git
Build
Release
Internet
AzureLoadBalancer
Ingress LeGo
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Image Source: https://docs.docker.com/registry/spec/api/
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
▪
▪
▪
▪
▪
VSTS Build Agent
Build Pool
Build Pool
Build Pool
Build
Definition
Build
Definition
Build
Queue
Docker Engine
Build
Agent
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Setup VSTS Services
▪ Docker Registry Connection
▪ Kubernetes Connection
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
kube-lego requests certificates
for Kubernetes Ingress resources
Automatic checking for certificates
Available for
!!! Non-production use cases !!!
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
▪
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
We are looking for
great talents to
join our team!
Apply to job@4tecture.ch
www.4tecture.ch/jobs
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Docker with Kubernetes and Visual Studio Team Services (VSTS)
Param(
[string]$vstspat = "xxxxxxx",
[string]$subscriptionname = "xxxxxxx",
[string]$rsakeyfile = "xxxxxxx",
[string]$vstsaccount = "xxxxxxx"
)
### setup the cli settings
kubectl config unset contexts.demo-4t-k8s
az account set --subscription $subscriptionname
az account show
#az login #if needed
### setup kubernetes cluster
az group create -n "KubernetesDemo" -l "westeurope"
az acs create -n KubernetesDemo -d demo-4t-k8s -g KubernetesDemo --generate-ssh-keys --orchestrator-type kubernetes
az acs kubernetes get-credentials -g=KubernetesDemo -n=KubernetesDemo --ssh-key-file=$rsakeyfile
az acr create --name 4tKubernetesDemoRegistry --resource-group KubernetesDemo --sku Basic
az acr update -n 4tKubernetesDemoRegistry --admin-enabled true
$acrusername = az acr credential show -n 4tKubernetesDemoRegistry --query username
$acrpassword = az acr credential show -n 4tKubernetesDemoRegistry --query passwords[0].value
kubectl create secret docker-registry 4tkubernetesdemoregistry --docker-username=$acrusername --docker-password=$acrpassword--docker-server='4tkubernetesdemoregistry.azurecr.io' --
docker-email='info@4tecture.ch'
### deploy k8s configurations
kubectl apply -f .devfun_namespaces.yaml
kubectl apply -f nginx-ingress-defaultbackend.yaml
kubectl apply -f nginx-ingress-controller.yaml
kubectl apply -f nginx-ingress-service.yaml
kubectl -n kube-system get po
kubectl apply -f vsts_namespaces.yaml
kubectl create secret generic vsts --from-literal=VSTS_TOKEN=$vstspat --from-literal=VSTS_ACCOUNT=$vstsaccount --namespace=vsts
kubectl apply -f vsts_agent.yaml
kubectl apply -f lego_namespaces.yaml
kubectl apply -f lego_configmap.yaml
kubectl apply -f lego_deployment.yaml
kubectl apply -f devfun_ingress-dev.yaml
kubectl apply -f devfun_ingress-test.yaml
kubectl apply -f devfun_ingress-prod.yaml
Docker with Kubernetes and Visual Studio Team Services (VSTS)

More Related Content

PPTX
Delivering eBay's CI Solution with Apache Mesos & Docker - DockerCon 2014
PPTX
Be flexible with zalenium, a dockerized selenium grid infrastructure
PPT
HTC Development Environment Configuration
PDF
Deploying a maintainable Kubernetes cluster in under 20 minutes
PPTX
Workflow, container, and beyond
PDF
Web Space10 Overview
PPTX
Apache Maven
PDF
VMworld 2013: What's New with VMware Workstation
Delivering eBay's CI Solution with Apache Mesos & Docker - DockerCon 2014
Be flexible with zalenium, a dockerized selenium grid infrastructure
HTC Development Environment Configuration
Deploying a maintainable Kubernetes cluster in under 20 minutes
Workflow, container, and beyond
Web Space10 Overview
Apache Maven
VMworld 2013: What's New with VMware Workstation

Similar to Docker with Kubernetes and Visual Studio Team Services (VSTS) (20)

PDF
Experts Live Europe 2017 - VSTS / TFS automated Release Pipelines for Web App...
PDF
VSTS Release Pipelines with Kubernetes
PDF
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
PDF
DevDay 2017 - Automatisierte Release-Pipeline mit VSTS und Kubernetes für ASP...
PPTX
Making sense of containers, docker and Kubernetes on Azure.
PDF
Build containerized application using Docker and Azure.pdf
PDF
Experts Live Switzerland 2017 - Automatisierte Docker Release Pipeline mit VS...
PDF
TechDays 2017 - Asp.NET Core Anwendungen automatisiert als Container ausliefern
PDF
.NET Day 2017 - ASP.NET Core mit Visual Studio und Docker
PPTX
The container ecosystem @ Microsoft A story of developer productivity
PDF
Experts Live Europe 2017 - Why you should care about Docker - an introduction
PPTX
Container on azure
PPTX
Asp.Net Core Apps with Service Fabric Mesh
PPTX
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
PPTX
Docker
PDF
Azure CI-CD for Containers Solution Architecture.pdf
PPTX
Getting started with containers on Azure
PPTX
Scaling Docker Containers using Kubernetes and Azure Container Service
PDF
Was is Docker? Or: Docker for Software Developers
PPTX
Moving Applications into Azure Kubernetes
Experts Live Europe 2017 - VSTS / TFS automated Release Pipelines for Web App...
VSTS Release Pipelines with Kubernetes
VSTS/ TFS automated Release Pipelines for Web Applications with Docker
DevDay 2017 - Automatisierte Release-Pipeline mit VSTS und Kubernetes für ASP...
Making sense of containers, docker and Kubernetes on Azure.
Build containerized application using Docker and Azure.pdf
Experts Live Switzerland 2017 - Automatisierte Docker Release Pipeline mit VS...
TechDays 2017 - Asp.NET Core Anwendungen automatisiert als Container ausliefern
.NET Day 2017 - ASP.NET Core mit Visual Studio und Docker
The container ecosystem @ Microsoft A story of developer productivity
Experts Live Europe 2017 - Why you should care about Docker - an introduction
Container on azure
Asp.Net Core Apps with Service Fabric Mesh
Azure: Docker Container orchestration, PaaS ( Service Farbic ) and High avail...
Docker
Azure CI-CD for Containers Solution Architecture.pdf
Getting started with containers on Azure
Scaling Docker Containers using Kubernetes and Azure Container Service
Was is Docker? Or: Docker for Software Developers
Moving Applications into Azure Kubernetes
Ad

More from Marc Müller (20)

PDF
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
PDF
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
PDF
.NET Day - Continuous Deployment Showdown: Traditional CI/CD vs. GitOps
PDF
DWX 2023 - GitHub Actions für Azure-DevOps-Pipelines-Benutzer
PDF
DWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
PDF
DWX 2023 - Schnelles Feedback mit Pull-Request Deployments
PDF
DWX 2023 - .NET-Microservices mit Dapr: Zu viel Abstraktion oder der richtige...
PDF
Global Azure Austria 2023 - Fast feedback with pull request deployments
PDF
BASTA Spring 2023 - SCHNELLES FEEDBACK MIT PULL REQUEST DEPLOYMENTS
PDF
BASTA Spring 2023 - AUTOMATISIERTES DATENBANK-DEPLOYMENT IM DEVOPS-PROZESS
PDF
BASTA! 2022 - Einführung in Helm, der Paket-Manger für Kubernetes
PDF
BASTA! 2022 - Automatisiertes Datenbank-Deployment im DevOps-Prozess
PDF
BASTA! 2022 - GitHub Actions für Nutzer der Azure DevOps Pipelines
PDF
.NET Day 2022 - Fast feedback with pull request deployments
PDF
DWX 2022 - DevSecOps mit GitHub
PDF
DWX 2022 - Automatisiertes Datenbank-Deployment im DevOps-Prozess
PDF
Einführung in Helm - der Paket-Manger für Kubernetes
PDF
DWX 2022 - Top 10 Best-Practices für YAML-Pipelines in Azure DevOps
PDF
Helm introduction
PDF
ADCD 2022 - Handling secrets in the release process with Azure DevOps and Azu...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
.NET Day - Continuous Deployment Showdown: Traditional CI/CD vs. GitOps
DWX 2023 - GitHub Actions für Azure-DevOps-Pipelines-Benutzer
DWX 2023 - Datenbank-Schema Deployment im Kubernetes Release
DWX 2023 - Schnelles Feedback mit Pull-Request Deployments
DWX 2023 - .NET-Microservices mit Dapr: Zu viel Abstraktion oder der richtige...
Global Azure Austria 2023 - Fast feedback with pull request deployments
BASTA Spring 2023 - SCHNELLES FEEDBACK MIT PULL REQUEST DEPLOYMENTS
BASTA Spring 2023 - AUTOMATISIERTES DATENBANK-DEPLOYMENT IM DEVOPS-PROZESS
BASTA! 2022 - Einführung in Helm, der Paket-Manger für Kubernetes
BASTA! 2022 - Automatisiertes Datenbank-Deployment im DevOps-Prozess
BASTA! 2022 - GitHub Actions für Nutzer der Azure DevOps Pipelines
.NET Day 2022 - Fast feedback with pull request deployments
DWX 2022 - DevSecOps mit GitHub
DWX 2022 - Automatisiertes Datenbank-Deployment im DevOps-Prozess
Einführung in Helm - der Paket-Manger für Kubernetes
DWX 2022 - Top 10 Best-Practices für YAML-Pipelines in Azure DevOps
Helm introduction
ADCD 2022 - Handling secrets in the release process with Azure DevOps and Azu...
Ad

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
top salesforce developer skills in 2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPT
Introduction Database Management System for Course Database
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Online Work Permit System for Fast Permit Processing
PDF
medical staffing services at VALiNTRY
PDF
System and Network Administraation Chapter 3
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Design an Analysis of Algorithms I-SECS-1021-03
Transform Your Business with a Software ERP System
Softaken Excel to vCard Converter Software.pdf
top salesforce developer skills in 2025.pdf
L1 - Introduction to python Backend.pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Upgrade and Innovation Strategies for SAP ERP Customers
Introduction Database Management System for Course Database
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
How to Migrate SBCGlobal Email to Yahoo Easily
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Online Work Permit System for Fast Permit Processing
medical staffing services at VALiNTRY
System and Network Administraation Chapter 3
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms II-SECS-1021-03
Design an Analysis of Algorithms I-SECS-1021-03

Docker with Kubernetes and Visual Studio Team Services (VSTS)