An Introduction to Kubernetes

Similar documents
Kubernetes introduction. Container orchestration

Kubernetes: Twelve KeyFeatures

Code: Slides:

Introduction to Kubernetes

A REFERENCE ARCHITECTURE FOR DEPLOYING WSO2 MIDDLEWARE ON KUBERNETES

Container Orchestration on Amazon Web Services. Arun

Kubernetes 101. Doug Davis, STSM September, 2017

Important DevOps Technologies (3+2+3days) for Deployment

Microservices. Chaos Kontrolle mit Kubernetes. Robert Kubis - Developer Advocate,

Kubernetes objects on Microsoft Azure

Full Scalable Media Cloud Solution with Kubernetes Orchestration. Zhenyu Wang, Xin(Owen)Zhang

Kubernetes - Networking. Konstantinos Tsakalozos

Kuber-what?! Learn about Kubernetes

So, I have all these containers! Now what?

Kubernetes deep dive

Package your Java Application using Docker and Kubernetes. Arun

Running MarkLogic in Containers (Both Docker and Kubernetes)

Overview of Container Management

Kubernetes Integration with Virtuozzo Storage


@briandorsey #kubernetes #GOTOber

Table of Contents HOL CNA

What s New in K8s 1.3

Introduction to Kubernetes Storage Primitives for Stateful Workloads

What s New in K8s 1.3

Kubernetes. Introduction

Kubernetes. An open platform for container orchestration. Johannes M. Scheuermann. Karlsruhe,

Launching StarlingX. The Journey to Drive Compute to the Edge Pilot Project Supported by the OpenStack

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

TensorFlow on vivo

CS-580K/480K Advanced Topics in Cloud Computing. Container III

CONTAINERS AND MICROSERVICES WITH CONTRAIL

Kubernetes made easy with Docker EE. Patrick van der Bleek Sr. Solutions Engineer NEMEA

Evolution of Kubernetes in One Year From Technical View

Understanding and Evaluating Kubernetes. Haseeb Tariq Anubhavnidhi Archie Abhashkumar

Table of Contents HOL CNA

Hacking and Hardening Kubernetes

Kubernetes: Integration vs Native Solution

10 Kube Commandments

agenda PAE Docker Docker PAE

Kuberiter White Paper. Kubernetes. Cloud Provider Comparison Chart. Lawrence Manickam Kuberiter Inc

Question: 2 Kubernetes changed the name of cluster members to "Nodes." What were they called before that? Choose the correct answer:

DevOps Technologies. for Deployment

Managing Compute and Storage at Scale with Kubernetes. Dan Paik / Google

KUBERNETES IN A GROWN ENVIRONMENT AND INTEGRATION INTO CONTINUOUS DELIVERY

How to build scalable, reliable and stable Kubernetes cluster atop OpenStack.

Table of Contents. GEEK GUIDE Deploying Kubernetes with Security and Compliance in Mind. About the Sponsor...4 Introduction...5. Orchestration...

Containerisation with Docker & Kubernetes

Scaling Jenkins with Docker and Kubernetes Carlos

WHITE PAPER. RedHat OpenShift Container Platform. Benefits: Abstract. 1.1 Introduction

Infoblox IPAM Driver for Kubernetes User's Guide

Kubernetes - Load Balancing For Virtual Machines (Pods)

Kubernetes: What s New

IBM Planning Analytics Workspace Local Distributed Soufiane Azizi. IBM Planning Analytics

Infoblox IPAM Driver for Kubernetes. Page 1

Kubernetes: Container Orchestration and Micro-Services logo

Cloud I - Introduction

Kubernetes 1.9 Features and Future

JFOKUS 2017 EXPERIENCES FROM USING DISCOVERY SERVICES IN A MICROSERVICE LANDSCAPE

Kubernetes Basics. Christoph Stoettner Meetup Docker Mannheim #kubernetes101

Kubernetes, Persistent Volumes and the Pure Service Orchestrator. Simon Dodsley, Director of New Stack Technologies

Triangle Kubernetes Meet Up #3 (June 9, 2016) From Beginner to Expert

OpenShift 3 Technical Architecture. Clayton Coleman, Dan McPherson Lead Engineers

The Path to GPU as a Service in Kubernetes Renaud Gaubert Lead Kubernetes Engineer

Designing MQ deployments for the cloud generation

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

Deploying Applications on DC/OS

Federated Prometheus Monitoring at Scale

Cloud Native Java with Kubernetes

Apache OpenWhisk + Kubernetes:

OpenStack Magnum Hands-on. By Saulius Alisauskas and Bryan Havenstein

Ingress Kubernetes Tutorial

Maximizing Network Throughput for Container Based Storage David Borman Quantum

Continuous delivery while migrating to Kubernetes

VMware Integrated OpenStack with Kubernetes Getting Started Guide. VMware Integrated OpenStack 4.1

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

/ Cloud Computing. Recitation 5 February 14th, 2017

Table of Contents. Section 1: Overview 3 NetScaler Summary 3 NetScaler CPX Overview 3

利用 Mesos 打造高延展性 Container 環境. Frank, Microsoft MTC

Building an on premise Kubernetes cluster DANNY TURNER

Installation and setup guide of 1.1 demonstrator

Scheduling in Kubernetes October, 2017

Characterising Resource Management Performance in Kubernetes. Appendices.

Internals of Docking Storage with Kubernetes Workloads

IBM 开源技术微讲堂容器技术与微服务系列

Kubernetes Integration Guide

Oracle Container Services for use with Kubernetes. User's Guide

S Implementing DevOps and Hybrid Cloud

Fault Tolerant Stateful Services on Kubernetes. Timothy St.

More Containers, More Problems

Creating a Multi-Container Pod

Service discovery in Kubernetes with Fabric8

Onto Petaflops with Kubernetes

Kubernetes Love at first sight?

FUJITSU Software ServerView Cloud Load Control V1.0. Cluster Management Guide

Developing Kubernetes Services

VMWARE PIVOTAL CONTAINER SERVICE

Note: Currently (December 3, 2017), the new managed Kubernetes service on Azure (AKS) does not yet support Windows agents.

Securing Microservice Interactions in Openstack and Kubernetes

Multiple Networks and Isolation in Kubernetes. Haibin Michael Xie / Principal Architect Huawei

Transcription:

8.10.2016 An Introduction to Kubernetes Premys Kafka premysl.kafka@hpe.com kafkapre https://github.com/kafkapre

{ History }???? - Virtual Machines 2008 - Linux containers (LXC) 2013 - Docker 2013 - CoreOS stack 2014 - Kubernetes 2

{ Distributed systems } Collection of computers that act, work, and appear as one large computer Advantages: scalable horizontally, reliable, extensible, cheaper computers, geographic distribution, Problems: network can fail, bandwidth, consistency, workload allocation, security issues, 3

{ Overview } Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. Name Kubernetes is from Greek word kybernētēs which means "helmsman" or "governor Firstly announced by Google in 2014 Influenced by Google's Borg Many contributors (Google, RedHat, IBM, Cisco, VMware) 4

{ Overview } Commonly referred to as "k8s" Apache License 2.0 Written in Go Cross-platform (POC for Windows) Kubernetes v1.0 was released on July 21, 2015 Google Container Engine runs k8s 5

{ Features } Automatic binpacking Horizontal scaling Self-healing Storage orchestration Service discovery and load balancing Secret and configuration management 6

{ Pod } A group of one or more containers with shared storage Containers also share an IP address and port space, and can find each other via localhost Treated as one logical object Deployed on one machine together Life cycle Bound to a node, restart in place Can die, cannot be reborn with same ID 7

{ Replication Controller } Creates and destroys Pods dynamically Ensures that a pod or particular set of pods are always up and available pods are automatically replaced if they fail Scaling Pods Recommend to use Replication Controller even when you want to create one Pod 8

{ Service } An abstraction which defines a logical set of Pods and a policy by which to access them Pods are targeted and determined by a Label Selector 9

{ Service Types } ExternalName: map the service to the contents of the externalname field e.g. example.com ClusterIP: use a cluster-internal IP only NodePort: on top of having a cluster-internal IP, expose the service on a port on each node of the cluster LoadBalancer: on top of having a cluster-internal IP and exposing service on a NodePort also, ask the cloud provider for a load balancer which forwards to the Service 10

{ Labels } Key/value pairs that are attached to objects, such as pods Can be used to organize and to select subsets of objects Each Key must be unique for a given object Loose coupling Can be added dynamically 11

{ Architecture } Two types of nodes Master node: Master components (APIs, scheduler, etc) are there Worker node: Kubelet and containers are there Kubelet: takes a set of PodSpecs and ensures that the containers described are running and healthy Kube-proxy: reflects services on each node and can do simple TCP,UDP stream or round robin TCP,UDP forwarding across a set of backends API Server: Do business logic implemented in separate components or in plugins. Also processes REST operations, validates them, and updates the corresponding objects in persistence (Etcd) 12

{ Architecture } Scheduler: binds unscheduled pods to node Control Manager: processes controllers like DaemonSet Controller, Replication Controller Etcd: distributed storage Kubectl: command line client 13

{ Architecture } 14

{ Service Schema } 15

{ Other Features } Volumes (Git, NFS, Flocker, some cloud provider storage ) DNS Namespaces DaemonSet Jobs Secrets ConfigMaps Autoscaling Resource limitation 16

{ Try Kubernetes } Install it Minikube runs virtual machine with k8s Kubeadm installs k8s on your machine Model your application in k8s yamls Deploy and manage your application 17

{ Alternatives } Mesos Docker Swarm 18

{ Demo } K8S DEMO see: https://github.com/kafkapre/linuxdays2016-kubernetes-example 19

Thank you! Q & A premysl.kafka@hpe.com kafkapre https://github.com/kafkapre