SlideShare uma empresa Scribd logo
1 de 19
Why Would you run
Windows containers in k8s?
Craig Peters
Principal Program Manager, Azure Container Compute
@peterscraig
Applying modern ops to Windows Apps
What is hard about Windows
operations?
• Dependencies and version conflicts
• Registry settings
• Automation
Windows containers
• Portable and reusable runtimes
• Developers control dependencies
How to improve manual break/fix
operations?
Declarative config + control loops
Who needs Windows in K8s?
• Enterprises
• Thousands of back-office .NET applications
• New apps are Linux
• Is there a cheaper/easier way than babysitting VMs for .NET apps?
• Software Vendors
• Existing customers run Windows
• New products run as Linux containers with Kubernetes
• How can I serve my whole customer base?
• SaaS Operators
• Existing Windows apps
Is Kubernetes right for all Windows apps?
• Certainly not
• Kubernetes is appropriate when
• Reboots fix common errors
• Critical data is persisted outside of process
• Kubernetes is a great fit when
• More than one process can work on shared data
How can Windows containers work in K8s?
Where to run it?
Cloud
• Azure
• AKS
• AKS Engine
• Azure RedHat OpenShift (soon)
• GKE/GCP
• EKS
• Huawei Cloud
On-prem
• RedHat OpenShift
• Pivotal PKS
• Docker EE
• Rancher 2.x
Demo
1. Kubernetes cluster with one Linux node for control plane, and two Windows Server 2019 nodes
2. Deployment with two containers, one running PS to write a counter to shared storage, the
other IIS to display in a simple web page
https://github.com/craiglpeters/windows-two-containers-demo
How did we get here?
Alpha Release
Kubelet and kube-
proxy running on
windows
Dec 2017
v1.9
Beta Release
Major updates in functionality
and CNI support
March 2019
v1.14
Stable Release
Support for adding
Windows Server 2019
nodes to Kubernetes
Jun 2019
v1.15
Refinements
gMSA to alpha,
usability and quality
improvements
Sept 2019
v1.16
More refinements
gMSA to beta,
RunAsUsername, and
CSI alpha
Dec 2019
v1.17
Refinements
RunTimeClass
support, Containerd to
alpha
What’s still lacking?
• Examples, and app migration tooling
• Node management tooling
• Monitoring and logging solutions
• Host-container version skew/compatibility
• Privileged containers
• Physical resource access
• Fine grained resource control
What’s coming upstream?
Kubernetes v1.17
• Containerd alpha on Windows
• Supports flannel and process isolation
(using containerd 1.4)
• https://github.com/kubernetes/enhanceme
nts/issues/1001
• RunTimeClass alpha on Windows
• Automatic OS version label which can help
steer workloads to the right nodes
• Allows configuration of runtimes at cluster
level using RunTimeClass
• https://github.com/kubernetes/enhanceme
nts/issues/1301
• Kubeadm for Windows to beta in v1.17
• https://github.com/kubernetes/enhanceme
nts/issues/995
Future
• Hyper-V support
• Version skew
• Multitenant isolation
• Finer memory and cpu resource control
• Linux containers on Windows using
Windows Subsystem for Linux v2
• Cluster-api support
How to Contribute
End User Contributor Tech Lead
GitHub
Issues
Document/
Blog
Community
Meetings
1st
Commit
Fix Bugs
Member Community
Meetings
Commits Reviews
Presentations
Release
Plans
Cross Group
Collaboration
Getting Started
Join our weekly meetings Tuesdays at 10.30 am Mountain Time
View recorded community meetings
Find bugs you can fix in our project board
Help us write additional documentation and user stories
How to find the community
https://groups.google.com/forum/#
!forum/kubernetes-sig-windows
#sig-windows
@m2
@patricklang
@craiglpeters
https://github.com/kubernetes/co
mmunity/tree/master/sig-windows
https://zoom.us/j/297282383
https://www.youtube.com/pl
aylist?list=PL69nYSiGNLP2OH
9InCcNkWNu2bl-gmIU4
https://kubernetes.io/docs/setup/produc
tion-environment/windows/intro-
windows-in-kubernetes/
Resources
• Patrick Lang’s repos https://github.com/PatrickLang
• Flexvolumes https://github.com/microsoft/K8s-Storage-
Plugins/tree/master/flexvolume/windows
• Overlay Networking for Windows
https://techcommunity.microsoft.com/t5/Networking-
Blog/Introducing-Kubernetes-Overlay-Networking-for-Windows/ba-
p/363082
• Troubleshooting Kubernetes Networking on Windows
https://techcommunity.microsoft.com/t5/Networking-
Blog/Troubleshooting-Kubernetes-Networking-on-Windows-Part-
1/ba-p/508648
Q&A if time allows
Addendum slides
Networking Update
• Networking topologies available
• Overlay
• Requires Windows Server 2019 with KB4489899
• Win-overlay plugin available
• Flannel vxlan support in alpha
• Underlay - L2Bridge, L2Tunnel
• win-bridge plugin available
• Flannel host-gw support
• Transparent – vSwitch extension
• ovn-kubernetes
• Network Policy
• Calico
• OVN
Things to Consider
Read the documentation!
Where the container runs
- Need a Windows Server node = Use NodeSelector
If you’re adding Windows and don’t already have nodeSelector on Linux deployments
- Option 1 (preferred): Add a taint to Windows nodes, toleration to Windows deployments
- Option 2: Update your Helm Charts and YAML files
Resource Consumption
- Need higher limits (300Mb min) - need Windows background services per container
Kernel/User compatibility
- Windows kernel major version should match (for now) – use versioned tags, not latest!
- Build on Windows Server 2019 = must run on Windows Server 2019
- Hyper-V isolation [alpha] can run older containers on a newer node
Testing Update
Windows node tests in test grid across
Azure, GCP and vSphere
• Conformance tests (excluding LinuxOnly)
• Windows specific tests
• Ongoing dot release testing

Mais conteúdo relacionado

Mais procurados

SnapyX
SnapyXSnapyX
SnapyX
ekino
 

Mais procurados (20)

Building CI/CD Pipelines with Jenkins and Kubernetes
Building CI/CD Pipelines with Jenkins and KubernetesBuilding CI/CD Pipelines with Jenkins and Kubernetes
Building CI/CD Pipelines with Jenkins and Kubernetes
 
Cloud-Native Drupal: a survival guide
Cloud-Native Drupal: a survival guideCloud-Native Drupal: a survival guide
Cloud-Native Drupal: a survival guide
 
Devoxx 2015 - Web Application Development using Grails and Docker
Devoxx 2015 - Web Application Development using Grails and DockerDevoxx 2015 - Web Application Development using Grails and Docker
Devoxx 2015 - Web Application Development using Grails and Docker
 
SnapyX
SnapyXSnapyX
SnapyX
 
KubeCon EU 2016 Keynote: Kubernetes State of the Union
KubeCon EU 2016 Keynote: Kubernetes State of the UnionKubeCon EU 2016 Keynote: Kubernetes State of the Union
KubeCon EU 2016 Keynote: Kubernetes State of the Union
 
India Serverless Summit 2017 - Sponsorship Deck
India Serverless Summit 2017 - Sponsorship DeckIndia Serverless Summit 2017 - Sponsorship Deck
India Serverless Summit 2017 - Sponsorship Deck
 
Telepresence - Seamless Development Environments on Kubernetes
Telepresence - Seamless Development Environments on KubernetesTelepresence - Seamless Development Environments on Kubernetes
Telepresence - Seamless Development Environments on Kubernetes
 
猿でもわかるサーバーレス
猿でもわかるサーバーレス猿でもわかるサーバーレス
猿でもわかるサーバーレス
 
Cicd pixelfederation
Cicd pixelfederationCicd pixelfederation
Cicd pixelfederation
 
CI / CD with fabric8
CI / CD with fabric8 CI / CD with fabric8
CI / CD with fabric8
 
How to Become DevOps
How to Become DevOpsHow to Become DevOps
How to Become DevOps
 
Event sourcing your React-Redux applications
Event sourcing your React-Redux applicationsEvent sourcing your React-Redux applications
Event sourcing your React-Redux applications
 
DevOps World | Jenkins World 2018 and The Future of Jenkins
DevOps World | Jenkins World 2018 and The Future of JenkinsDevOps World | Jenkins World 2018 and The Future of Jenkins
DevOps World | Jenkins World 2018 and The Future of Jenkins
 
Kubernetes and the Rise of Application-centric Computing
Kubernetes and the Rise of Application-centric ComputingKubernetes and the Rise of Application-centric Computing
Kubernetes and the Rise of Application-centric Computing
 
Hands on docker
Hands on dockerHands on docker
Hands on docker
 
Introduction to Kubernetes and GKE
Introduction to Kubernetes and GKEIntroduction to Kubernetes and GKE
Introduction to Kubernetes and GKE
 
The busy developer guide to Docker
The busy developer guide to DockerThe busy developer guide to Docker
The busy developer guide to Docker
 
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
 
Azure Container Service
Azure Container ServiceAzure Container Service
Azure Container Service
 
Idea to Production - with Gitlab and Kubernetes
Idea to Production  - with Gitlab and KubernetesIdea to Production  - with Gitlab and Kubernetes
Idea to Production - with Gitlab and Kubernetes
 

Semelhante a Windows containers on Kubernetes

Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Chris Jang
 

Semelhante a Windows containers on Kubernetes (20)

Webinar- Tea for the Tillerman
Webinar- Tea for the TillermanWebinar- Tea for the Tillerman
Webinar- Tea for the Tillerman
 
DotnetConf - Cloud native and .Net5 announcements
DotnetConf - Cloud native and .Net5 announcementsDotnetConf - Cloud native and .Net5 announcements
DotnetConf - Cloud native and .Net5 announcements
 
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
OSDC 2018 | Three years running containers with Kubernetes in Production by T...OSDC 2018 | Three years running containers with Kubernetes in Production by T...
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
 
Introduction to Containers
Introduction to ContainersIntroduction to Containers
Introduction to Containers
 
The App Developer's Kubernetes Toolbox
The App Developer's Kubernetes ToolboxThe App Developer's Kubernetes Toolbox
The App Developer's Kubernetes Toolbox
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetes
 
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
 
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
 
Modern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetesModern big data and machine learning in the era of cloud, docker and kubernetes
Modern big data and machine learning in the era of cloud, docker and kubernetes
 
Mete Atamel "Resilient microservices with kubernetes"
Mete Atamel "Resilient microservices with kubernetes"Mete Atamel "Resilient microservices with kubernetes"
Mete Atamel "Resilient microservices with kubernetes"
 
Containers & Cloud Native Ops Cloud Foundry Approach
Containers & Cloud Native Ops Cloud Foundry ApproachContainers & Cloud Native Ops Cloud Foundry Approach
Containers & Cloud Native Ops Cloud Foundry Approach
 
Containerised ASP.NET Core apps with Kubernetes
Containerised ASP.NET Core apps with KubernetesContainerised ASP.NET Core apps with Kubernetes
Containerised ASP.NET Core apps with Kubernetes
 
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
Google Tech Talk with Dr. Eric Brewer in Korea Apr.27.2015
 
Resilient microservices with Kubernetes - Mete Atamel
Resilient microservices with Kubernetes - Mete AtamelResilient microservices with Kubernetes - Mete Atamel
Resilient microservices with Kubernetes - Mete Atamel
 
Continuous Lifecycle London 2018 Event Keynote
Continuous Lifecycle London 2018 Event KeynoteContinuous Lifecycle London 2018 Event Keynote
Continuous Lifecycle London 2018 Event Keynote
 
Mete Atamel
Mete AtamelMete Atamel
Mete Atamel
 
Docker Enterprise Workshop - Intro
Docker Enterprise Workshop - IntroDocker Enterprise Workshop - Intro
Docker Enterprise Workshop - Intro
 
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with KubernetesKubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
 
Free GitOps Workshop
Free GitOps WorkshopFree GitOps Workshop
Free GitOps Workshop
 
Kubernetes – An open platform for container orchestration
Kubernetes – An open platform for container orchestrationKubernetes – An open platform for container orchestration
Kubernetes – An open platform for container orchestration
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

Windows containers on Kubernetes

  • 1. Why Would you run Windows containers in k8s? Craig Peters Principal Program Manager, Azure Container Compute @peterscraig
  • 2. Applying modern ops to Windows Apps What is hard about Windows operations? • Dependencies and version conflicts • Registry settings • Automation Windows containers • Portable and reusable runtimes • Developers control dependencies How to improve manual break/fix operations? Declarative config + control loops
  • 3. Who needs Windows in K8s? • Enterprises • Thousands of back-office .NET applications • New apps are Linux • Is there a cheaper/easier way than babysitting VMs for .NET apps? • Software Vendors • Existing customers run Windows • New products run as Linux containers with Kubernetes • How can I serve my whole customer base? • SaaS Operators • Existing Windows apps
  • 4. Is Kubernetes right for all Windows apps? • Certainly not • Kubernetes is appropriate when • Reboots fix common errors • Critical data is persisted outside of process • Kubernetes is a great fit when • More than one process can work on shared data
  • 5. How can Windows containers work in K8s?
  • 6. Where to run it? Cloud • Azure • AKS • AKS Engine • Azure RedHat OpenShift (soon) • GKE/GCP • EKS • Huawei Cloud On-prem • RedHat OpenShift • Pivotal PKS • Docker EE • Rancher 2.x
  • 7. Demo 1. Kubernetes cluster with one Linux node for control plane, and two Windows Server 2019 nodes 2. Deployment with two containers, one running PS to write a counter to shared storage, the other IIS to display in a simple web page https://github.com/craiglpeters/windows-two-containers-demo
  • 8. How did we get here? Alpha Release Kubelet and kube- proxy running on windows Dec 2017 v1.9 Beta Release Major updates in functionality and CNI support March 2019 v1.14 Stable Release Support for adding Windows Server 2019 nodes to Kubernetes Jun 2019 v1.15 Refinements gMSA to alpha, usability and quality improvements Sept 2019 v1.16 More refinements gMSA to beta, RunAsUsername, and CSI alpha Dec 2019 v1.17 Refinements RunTimeClass support, Containerd to alpha
  • 9. What’s still lacking? • Examples, and app migration tooling • Node management tooling • Monitoring and logging solutions • Host-container version skew/compatibility • Privileged containers • Physical resource access • Fine grained resource control
  • 10. What’s coming upstream? Kubernetes v1.17 • Containerd alpha on Windows • Supports flannel and process isolation (using containerd 1.4) • https://github.com/kubernetes/enhanceme nts/issues/1001 • RunTimeClass alpha on Windows • Automatic OS version label which can help steer workloads to the right nodes • Allows configuration of runtimes at cluster level using RunTimeClass • https://github.com/kubernetes/enhanceme nts/issues/1301 • Kubeadm for Windows to beta in v1.17 • https://github.com/kubernetes/enhanceme nts/issues/995 Future • Hyper-V support • Version skew • Multitenant isolation • Finer memory and cpu resource control • Linux containers on Windows using Windows Subsystem for Linux v2 • Cluster-api support
  • 11. How to Contribute End User Contributor Tech Lead GitHub Issues Document/ Blog Community Meetings 1st Commit Fix Bugs Member Community Meetings Commits Reviews Presentations Release Plans Cross Group Collaboration
  • 12. Getting Started Join our weekly meetings Tuesdays at 10.30 am Mountain Time View recorded community meetings Find bugs you can fix in our project board Help us write additional documentation and user stories
  • 13. How to find the community https://groups.google.com/forum/# !forum/kubernetes-sig-windows #sig-windows @m2 @patricklang @craiglpeters https://github.com/kubernetes/co mmunity/tree/master/sig-windows https://zoom.us/j/297282383 https://www.youtube.com/pl aylist?list=PL69nYSiGNLP2OH 9InCcNkWNu2bl-gmIU4 https://kubernetes.io/docs/setup/produc tion-environment/windows/intro- windows-in-kubernetes/
  • 14. Resources • Patrick Lang’s repos https://github.com/PatrickLang • Flexvolumes https://github.com/microsoft/K8s-Storage- Plugins/tree/master/flexvolume/windows • Overlay Networking for Windows https://techcommunity.microsoft.com/t5/Networking- Blog/Introducing-Kubernetes-Overlay-Networking-for-Windows/ba- p/363082 • Troubleshooting Kubernetes Networking on Windows https://techcommunity.microsoft.com/t5/Networking- Blog/Troubleshooting-Kubernetes-Networking-on-Windows-Part- 1/ba-p/508648
  • 15. Q&A if time allows
  • 17. Networking Update • Networking topologies available • Overlay • Requires Windows Server 2019 with KB4489899 • Win-overlay plugin available • Flannel vxlan support in alpha • Underlay - L2Bridge, L2Tunnel • win-bridge plugin available • Flannel host-gw support • Transparent – vSwitch extension • ovn-kubernetes • Network Policy • Calico • OVN
  • 18. Things to Consider Read the documentation! Where the container runs - Need a Windows Server node = Use NodeSelector If you’re adding Windows and don’t already have nodeSelector on Linux deployments - Option 1 (preferred): Add a taint to Windows nodes, toleration to Windows deployments - Option 2: Update your Helm Charts and YAML files Resource Consumption - Need higher limits (300Mb min) - need Windows background services per container Kernel/User compatibility - Windows kernel major version should match (for now) – use versioned tags, not latest! - Build on Windows Server 2019 = must run on Windows Server 2019 - Hyper-V isolation [alpha] can run older containers on a newer node
  • 19. Testing Update Windows node tests in test grid across Azure, GCP and vSphere • Conformance tests (excluding LinuxOnly) • Windows specific tests • Ongoing dot release testing

Notas do Editor

  1. Kubernetes wraps containers in the control loop fixing many things automatically when they break
  2. $ brew upgrade kubectl $ brew install Azure/aks-engine/aks-engine $ az login $ export RESOURCEGROUP=akse-windows $ export LOCATION=southcentralus $ az group create –n $RESOURCEGROUP –l $LOCATION $ export RESOURCEGROUPID=$(az group show --resource-group $RESOURCEGROUP --query id --output tsv) $ export SERVICEPRINCIPAL=$(az ad sp create-for-rbac --role="Contributor" --scopes=$RESOURCEGROUPID --output json) $ curl -L https://raw.githubusercontent.com/Azure/aks-engine/master/examples/windows/kubernetes.json -o kubernetes.json # edit dnsPrefix, adminPassword, keyData, clientId, secret $ code kubernetes.json $ aks-engine.exe generate kubernetes.json $ az group deployment create –g $RESOURCEGROUP –-template-file "./_output/wink8s1/azuredeploy.json" –-parameters "./_output/wink8s1/azuredeploy.parameters.json” > az-group-deployment.out $ export KUBECONFIG=$(PWD)/_output/wink8s1/kubeconfig/kubeconfig.southcentralus.json $ kubectl get nodes –o wide $ kubectl apply –f two-containers.yaml $ kubectl get pods $ kubectl port-forward two-containers-… 7000:80
  3. Pengfei
  4. Craig
  5. Craig
  6. Pengfei Great reference  https://techcommunity.microsoft.com/t5/Networking-Blog/Introducing-Kubernetes-Overlay-Networking-for-Windows/ba-p/363082
  7. Pengfei
  8. Craig