mountainss Cloud and Datacenter Management Blog

Microsoft SystemCenter blogsite about virtualization on-premises and Cloud


Leave a comment

Deploying Containers on #Kubernetes Cluster in #Docker for Windows CE and on #Azure AKS

Kubernetes Custer via Docker for Windows CE Edge

Docker CE for Windows is Docker designed to run on Windows 10. It is a native Windows application that provides an easy-to-use development environment for building, shipping, and running dockerized apps. Docker CE for Windows uses Windows-native Hyper-V virtualization and networking and is the fastest and most reliable way to develop Docker apps on Windows. Docker CE for Windows supports running both Linux and Windows Docker containers.
Download Docker for Windows Community Edition Edge here

From Docker for Windows version 18.02 CE Edge includes a standalone Kubernetes server and client, as well as Docker CLI integration. The Kubernetes server runs locally within your Docker instance, is not configurable, and is a single-node cluster.

I’m using Docker for Windows CE version 18.05.0

Now your Single node Kubernetes Cluster is running.

To get the Kubernetes Dashboard you have to install it with Kubectl :

kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml

Run kubectl proxy

Keep this running.

Go with your browser to : http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login  and you can skip kubeconfig for now.

You are now in the Kubernetes Dashboard.

Now it’s time to make your first containers (Pods) on Kubernetes.
Click on +CREATE in the upper right corner.

For example code I used a yaml script to deploy Nginx with 3 replicas

Deploying the Nginx Containers (Pods)

Nginx is running on Kubernetes.

With Microsoft Visual Studio Code and the Kubernetes extension you can play with Nginx Containers (pods) locally on your laptop.

When you need more capacity and want to scale-up with more Containers (Pods) for your solution, you can use Microsoft Azure Cloud with Azure Kubernetes Services

Monitor Azure Kubernetes Service (AKS) with container health (Preview) and with Analytics

 

Advertisements


Leave a comment

Build a Company in #Azure Video

Content
– The Azure Portal 00:05:00
– Networking in Azure 00:10:12
– Azure Virtual Machines 00:22:16
– Containers and Kubernetes Orchestration 00:50:57
– Directory Services and Azure AD 01:03:39
– DevTest Labs 01:18:23
– Backup and Disaster Recovery 01:29:48
– WebApps 01:37:15
– Automating Social Media 01:55:05
– Bots and Cognitive Service APIs 02:11:44
– Securing the Azure Cloud 02:23:45

Thanks to Daniel baker 😉

Azure Citadel site


Leave a comment

Docker CE for Windows10 Edge and #Kubernetes Feature Overview #Docker #Containers #DevOps

Docker CE for Windows is Docker designed to run on Windows 10. It is a native Windows application that provides an easy-to-use development environment for building, shipping, and running dockerized apps. Docker CE for Windows uses Windows-native Hyper-V virtualization and networking and is the fastest and most reliable way to develop Docker apps on Windows. Docker CE for Windows supports running both Linux and Windows Docker containers.

You can download Docker CE for Windows (Edge) here

After you installed Docker for Windows CE (Edge) on Windows 10, go to docker Settings for activating the New Feature Kubernetes..

Select Enable Kubernetes.
(I selected also Show system containers (Advanced ) to see more information.)

Click on Install

You can run the installation in the Background if you want.

Here you see the Status of the Kubernetes Cluster.

kubectl config get-context
Docker-for-desktop Kubernetes Cluster is active

You can see the Status in Docker Settings too.

kubectl get services

kubectl get nodes

Kubectl cluster-info

When you run docker images
You will see the Kubernetes images for the Cluster.

When you selected the Advanced feature in Docker settings earlier you can
see the running containers with Docker ps command

With Kitematic you get a GUI console to manage Docker Container Images, from here you can pull Container images from Docker HUB

Download Kitematic here and install.

 

When you installed Kitematic you can see on your left all the Kubernetes Containers and when you select a running Container you can see the active logs.

More settings to Explore.

When you start Powershell in Administrator modus, you can use the kubectl command line interface and with –help you get the information on the Kubernetes commands. Here you find more information with examples at Kubernetes site

With Microsoft Visual Studio Code you can use the Docker for Windows CE Edge Kubernetes Cluster to Develop your Apps.

Intstall the Visual Studio Code Kubernetes Tools extension.

Install Kubernetes-Snippets is handy for Developing

When your Kubernetes local project is successful, you can deploy an Azure Kubernetes Service (AKS) or a Microsoft Azure Container Service to run your project in the Cloud for production.

Azure Container Service (AKS)
Azure Container Service (AKS) manages your hosted Kubernetes environment, making it quick and easy to deploy and manage containerized applications without container orchestration expertise. It also eliminates the burden of ongoing operations and maintenance by provisioning, upgrading, and scaling resources on demand, without taking your applications offline.

Here you find more information on Microsoft Azure Container Services for Kubernetes

Hope this overview helps you with developing apps in Containers with Docker, Kubernetes and Azure.


Leave a comment

Designing, building, and operating #Microservices on #Azure with #Kubernetes Guide

In this set of articles, Microsoft explores how to build and run a Microservices Architecture on Azure, using Kubernetes as a container orchestrator. Topics include:

  • Using Domain Driven Design (DDD) to design a microservices architecture.
  • Choosing the right Azure technologies for compute, storage, messaging, and other elements of the design.
  • Understanding microservices design patterns.
  • Designing for resliency, scalability, and performance.
  • Building a CI/CD pipeline.

Read all the information on Microservices on Azure here

 


Leave a comment

JOIN the NEW Community Group #Containers in the #Cloud #Azure #Docker #Kubernetes #DCOS #Linux

Today I Started a Community group called Containers in the Cloud on LinkedIn

Join and Help the community with Containers for Applications in the Cloud or on Every Infrastructure.
Share your Container knowledge with the community and Education.

Hope to see you there as a free member to build an Awesome virtual Community and it’s all about Containers 😉