why do you want to invest in containers? - suse … · why do you want to invest in containers? 2...

48
1 1 Why Do You Want to Invest in Containers?

Upload: tranhuong

Post on 09-Sep-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

11

Why Do You Want to Invest in Containers?

Page 2: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

2

What are Containers?

A package/image that can be deployed anywhere (that’s running a Linux

Kernel)

Developers create a layered image of their application that contains

everything their application requires to run on top of a base OS layer

A container image will be able to be built once and run everywhere

Developers can focus on what they do best – development - opposed to

dealing with packaging or library dependency management

Operations can deploy an entire app stack in seconds as they don’t need to

worry about prerequisites

Page 3: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

3

Host OS

Hypervisor

Guest

OSGuest

OS

Guest

OS

Server

VM VM VM

OS Kernel

Server

Container Runtime

What are Containers?

Making more efficient use of your server resources while empowering your development and operations staff

Deploying the same code to dev and prod

Easier for developers – creating a package with just the software needed to run

Can run anywhere – On Premise, Public Cloud or Private Cloud – It’s no difference!

Page 4: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

4

How Do Containers Help Transform IT?

Accelerate

application

development and

delivery

Build and deliver

new cloud native

applications

Ease application

transformation

Page 5: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

5

Without Containers

Isolated development environment

Small team builds a POC

POC hand over to Dev/Ops teams

One of the following issues is likely:

• POC doesn’t run in production/staging

• Development environment not easy to setup (different OS, different tools, missing packages)

POC can’t be safely used in production or

easily migrated to production

With Containers

Team creating POC can also deploy

POC deployed with containers

POC runs in a staging/production environment

New dev environments are easy to setup

Developers can continue using the preferred tools and OS

Happy Developers! Productive teams!

How Containers Ease App Development

Deploying a POC app using modern Ruby on Rails technology

Page 6: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

6

Plan Code Test Release Deploy OperateBuild

Build and Deliver Cloud Native Applications

Instead of larger, monolithic services …

Page 7: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

7

Plan Code Test Release Deploy OperateBuild

Smaller Codebase + Specialized Teams + Deconstructed Services

= Agile IT

= Opportunity!

Build and Deliver Cloud Native Applications

Increase agility with Microservices

Page 8: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

8

Fast start/stop

Densification

In-place upgrades (we destroy and re-deploy)

Host OS

Hypervisor

Guest

OSGuest

OS

Guest

OS

Server

VM VM VM

OS Kernel

Server

Container Runtime

Build and Deliver Cloud Native Applications

Containers enable Microservices model

Page 9: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

9

Deploying Microservices

Microservices help companies move faster. Containers make it work!

Without Containers

• Set up development environments

• Download, Run all services locally

• (Try to) keep all services up to date

• Check code against dependencies

• Submission of code becomes difficult

With Containers

• Containers are great for

Microservices

• Setup a development namespace

• Developers push code into

dedicated containers -> saves lot of

time

• No need to keep code locally

• Continuous Integration/Continuous

Development (CI/CD) run against all

services

Page 10: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

10

Public

Cloud

Ease Application Transformation

(Re-)deploy to virtual or cloud infrastructure

Virtual Machine

Physical ServerPrivate Cloud

Public Cloud

Page 11: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

1111

Why a Container Management Platform?

Page 12: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

12

27%

Enterprises are Running Container Workloads in Production

Cloud Adoption Trends Driving IT Transformation Research Report, Insight Avenue, 2017

1412 IT decision makers in companies with 250+ employees, across all sectors, interviewed in 2017(55% VP / C-level / Director level, 45% Senior Manager level)

RunningToday

Planning to RunWithin 2 years or more

Planning to RunWithin 1 year

44% 17%

Page 13: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

13

Total Cost Of Ownership is Compelling

The Business Case Works

“The reduction in duplication doesn't just free up

resources on the server, it frees up other

resources too. This is among the primary

drivers of containers in enterprise IT—to

reduce overhead and boost efficiency.”

Containers: Economically, they appear

to be a better option than hardware

virtualization. 451 Research.

Page 14: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

14

Building a

containerized platform

& stack from the

ground up is not for

everyone

Container Services in the Public Cloud. Gartner 2017

Page 15: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

15

Organizations Need Containers to be More Consumable

Container

Lifecycle

OrchestrationContainer

Microservices

Provision Manage Automate Host Services

Page 16: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

1616

What is SUSE CaaS Platform?

Page 17: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

17

What is SUSE CaaS Platform?

Speed application delivery to improve business agility

SUSE CaaS Platform is an enterprise class

container management solution that

enables IT and DevOps professionals to more

easily deploy, manage, and scale container-

based applications and services.

Page 18: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

18

• Achieve faster time-to-value

• Simplify management of your

container platform

• Maximize return on your investment

3 Key Benefits

Page 19: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

19

Achieve Faster Time-to-Value

Curated

Package

• Kubernetes

• Container engine;

Image registry

• SUSE MicroOS

• Open source technologies:

Helm, open interface

SUSE

Enterprise

Hardening &

Support

• Meet internal compliance

standards

• Assure reliable, scalable

and robust SUSE CaaS

Platform

Page 20: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

20

Simplify Management of Your

Container Platform

Efficient

InstallationEasy

Scaling

Always

up-to-date

Easy setup of

Kubernetes

Mass deploy in

minutes

Manage

using CLI or

dashboard

Simplify with

deployment

profiles

Complete control on-

command updates

Unique rollback

capability by SUSE

MicroOS

Page 21: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

21

Maximize ROI

Flexible

Platform

Designed

for Today &

Tomorrow

Cloud

Service

Economics

Run generic Linux

container, built on

any Linux

Deliver using

enterprise grade

SUSE MicroOS

Bank on technology

standards

(Kubernetes)

Upgrade to SUSE

Cloud Application

Platform

Offer container

services

Deploy on private

& public clouds

Page 22: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

22

Three Key Technology Components

Page 23: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

23

SUSE MicroOS for Hosting Containers

A purpose built operating system designed for running containers and

optimized for large deployments..

Contains everything you need for running containers in production

Key features include:

• An easy to manage/upgrade OS

• Easily setup/manage a cluster of nodes

• Use core SUSE Linux technologies,

such as btrfs, RPM, autoyast

• Scalable - up to thousands of nodes

• Transactional/Atomic updates

Page 24: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

24

Kubernetes for Container Orchestration

Helps you deploy and run large numbers of containers at scale in a production

ready environment

Deploy

Manage

Scale

Clustered

Allows users to manage applications, not machines

• Complete container orchestration solution

• Open source

• Production grade

• Industry-leading container technology

• Designed by Google, now part of Cloud

Native Computing Foundation

Page 25: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

25

Kubernetes Deployment is Not Easy

Kubernetes is great for container orchestration but is

notoriously hard to

• Set up/install

• Configure

• Update

• Manage

• Secure

SUSE CaaS Platform takes this pain away

What used to take hours for skilled engineers can be

done in minutes by junior administrators

Page 26: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

26

SUSE CaaS Platform

Kubernetes Cluster

k8s

Master

k8s

Worker…

k8s

Master

k8s

Worker…

k8s

Worker

k8s

Worker…

Dashboard

Admin

Node

Page 27: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

27

HelmPackage management for Kubernetes

What is Helm? • Tool to manage Kubernetes application

• Streamlines installation and management

• It’s like ‘zypper’ for Kubernetes

• Helm has two parts: a client (helm) and a server (tiller).

• Tiller runs inside of Kubernetes cluster, and manages

releases (installations) of charts*

• During SUSE CaaS Platform set up the server can be

installed on the Kubernetes cluster and then Helm can be

used to deploy containerized applications.

Why Helm? • Ability to deploy applications from SUSE maintained Helm

charts or from 3rd party sources

• Official tool to deploy containerized products such as SUSE

Cloud Application Platform

• Easy to integrate with SUSE CaaS Platform* “Helm Chart” is the Kubernetes equivalent of an RPM file

Page 28: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

2828

SUSE CaaS Platform Setup Walkthrough

Page 29: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

29

SUSE CaaS Platform

Kubernetes Cluster

k8s

Master

k8s

Worker…

k8s

Master

k8s

Worker…

k8s

Worker

k8s

Worker…

Dashboard

Admin

Node

Page 30: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

30

Page 31: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

31

Page 32: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

32

Page 33: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

33

Page 34: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

34

Page 35: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

35

Page 36: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

36

Page 37: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

37

Page 38: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

38

Page 39: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

39

Page 40: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

40

Page 41: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

41

Page 42: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

42

SUSE CaaS Platform

Easy installation

Integrates well with existing infrastructure

Deploy Kubernetes in 15 minutes

Now let’s deploy something….

Page 43: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

4343

Container Deployment Demo

Page 44: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

44

What did we just see?

We deployed a fully functional e-commerce solution with one command

in minutes

We have version control and release management of said deployment

All running on top of an Enterprise Ready Production Kubernetes

Cluster

Powered by SUSE CaaS Platform, Kubernetes and Helm

Page 45: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

4545

Roadmap

Page 46: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

46

2017 2018 2019 2020

SUSE CaaS Platform

v1

v2

v2.x

v3

v3+

Container Host OS

(MicroOS)• Codebase: SUSE Linux

Enterprise 12 SP2

• Designed for containers

and optimized for large

deployments

• Transactional updates

• Cluster dashboard for

deployment and update

Orchestration• Kubernetes v1.5: Complete

solution for container-based

workloads: deploy, scale,

manage

• Cmdline capabilities

• Docker open source

project version 1.12.6

Ecosystem• Private registry

• Persistent storage: local,

NFS, SUSE Enterprise

Storage

v1

Container Host OS • Codebase: SUSE Linux

Enterprise 15

• More flexible set up

• Enhance administration

dashboard

• Further scalability

Orchestration• Kubernetes version update

• Federation of Kubernetes

cluster

Ecosystem• Enable SUSE Enterprise

Storage on top of SUSE

CaaS Platform

• Additional container

images for workloads

• Improved processes for

maintenance

• 3+ years general support,

LTSS and overlap support

Container Host OS (MicroOS)• Codebase: SUSE Linux Enterprise 12 SP3

• Tested with 50 nodes

• Multi-master cluster set up, tested with 100

nodes

• Integration with public cloud (Amazon, Azure,

Google)***

• Enhance administration dashboard

Orchestration• Kubernetes 1.7

• Add Kubernetes DNS module (kube-dns)

• Docker open source project

version 1.12.6

Ecosystem• Helm for installing containerized applications

• Enable SUSE CAP on top of SUSE CaaS

Platform

Container Host OS• Codebase and packaging

optimized for transactional

updates

• HA setup of cluster

• Improve isolation options

• Container engine change

• Disaster recovery

• Single node install

Orchestration• Kubernetes version update

• Network options (CNI and

Callico or Cilium?)

Ecosystem• Smaller base container

images

• Additional container

images for workloads

Container Host OS • Codebase: SUSE Linux

Enterprise 12 SP3

• Tested with 200 nodes

• Enhance administration

dashboard

Orchestration• Kubernetes version update

• Kubernetes dashboard

(kube-dash)

• Multi-user / RBAC support

• Loadbalancer for

bare metal

Ecosystem• Private registry in

offline mode

• Trusted container images

v2 v2.x v3 v3+

* Information is forward looking and subject to change at any time.*** Item delivered post-GA

Page 47: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers
Page 48: Why Do You Want to Invest in Containers? - SUSE … · Why Do You Want to Invest in Containers? 2 ... Kubernetes for Container Orchestration Helps you deploy and run large numbers

4848

Unpublished Work of SUSE LLC. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE LLC.

Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their

assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated,

abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE.

Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.

General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market a

product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making

purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and

specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The

development, release, and timing of features or functionality described for SUSE products remains at the sole discretion

of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time,

without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this

presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-

party trademarks are the property of their respective owners.