Microsoft MVP / ASP.NET since 2004 • ASP.NET Web API Advisor since 2011 • Microsoft Azure Advisor since 2014 • Organizer of Azure Meetup Karlsruhe • Using Docker since 2013 https://pdmlab.com [email protected] @alexzeitler_ Azure ACS and Kubernetes: Microservices On Steroids 2
style that structures an application as a collection of loosely coupled services. In a microservices architecture, services should be fine-grained and the protocols should be lightweight. The benefit of decomposing an application into different smaller services is that it improves modularity and makes the application easier to understand, develop and test. The benefit of decomposing an application into different smaller services is that it improves modularity and makes the application easier to understand, develop and test. It also parallelizes development by enabling small autonomous teams to develop, deploy and scale their respective services independently Microservices-based architectures enable continuous delivery and deployment. Azure ACS and Kubernetes: Microservices On Steroids Microservices 5
MAINTAINER Alexander Zeitler <[email protected]> RUN apt-get update RUN apt-get install -y nginx RUN echo 'Hi, I am your father...erm in your container' \>/usr/share/nginx/html/index.html CMD [ "nginx", "-g", "daemon off;" ] EXPOSE 80 26
Linux ENV apiserver CM KV kube-apiserver Front end to control plane REST-API JSON (manifest files) KV-Store persistent state config of the cluster Uses etcd Controller Manager Node Controller Endpoints Controller Namespace Controller kube-scheduler watches apiserver Assigns work to nodes 42
Linux ENV K Kubelet kubernetes agent registers node with cluster watches apiserver instantiates pods reports to master endpoint at port :10225 /spec /healthz /pods CR P Container Runtime pull images start / stop containers Docker or rkt kube-proxy Networking Assign IP to Pod All containers in a Pod share IP LB across Pods in services 45