79
CONFIDENTIAL Designator August 2019 OpenShift, Containers & Kubernetes, A New Era Begins… Nick Barcet Senior Director Technology, OCTO/CPBU, Red Hat 1

Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

August 2019

OpenShift, Containers & Kubernetes, A New Era Begins…

Nick BarcetSenior Director Technology, OCTO/CPBU, Red Hat

1

Page 2: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

2

CONTAINER CHALLENGES

Trusted enterprise KubernetesContinuous security, world-class support and services, and deep expertise to confidently run any application.

A cloud-like experience, everywhereFull-stack automated operations on a consistent foundation across on-premises or hybrid cloud infrastructure.

Empowering developers to innovateGet applications to production sooner with a wide range of technologies and streamlined workflows.

Container SecurityImage scanning, patching and compliance.

Day 2 ManagementInstall, upgrade and maintenance. Integrate existing enterprise technology.

Application DeliveryMonitoring, metering and management.Integrate existing developer tools.

Page 3: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

3

Trusted enterprise Kubernetes● Trusted Host, Content, Platform● Full Stack Automated Install● Over the Air Updates & Day 2 Mgt

A cloud-like experience, everywhere● Hybrid, Multi-Cluster Management● Operator Framework ● Operator Hub & Certified ISVs

Empowering developers to innovate● OpenShift Service Mesh (Istio)● OpenShift Serverless (Knative)● CodeReady Workspaces (Che)

Page 4: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

4

UNIFIED HYBRID CLOUD

● Cloud-based multi cluster management○ New clusters on AWS, Azure,

Google, vSphere, OpenStack, and bare metal

○ Register existing clusters○ Including OpenShift Dedicated

● Management operations○ Install new clusters○ View all registered clusters○ Update clusters

cloud.openshift.com

AWS Google Azure On-Prem

Page 5: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

5

OPERATOR FRAMEWORK

Operators codify operational knowledge and workflows to automate life cycle management of containerized applications with Kubernetes

SDK LIFE CYCLE MANAGEMENT METERING

Page 6: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

6

OPERATOR HUB

● Launched with AWS, Microsoft, and Google

● Discover and install optional components and apps

● Upstream & downstream content● ISV partners will support their own

Operators

Red Hat productsISV partnersCommunity

TYPES OF OPERATORS

Page 7: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

7

Openshift 4 for NFV - Investment Priorities

OPERATING SYSTEM

OPENSHIFT PLATFORM

Day 2 MgmtMulti Cluster Mgmt

CNFOperator

Platform NFV Enhancements

(SR-IOV, Multus, …)

Page 8: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

CNF certification on OpenShiftActivities in progress*

8

● Testing and developing OpenShift with multiple partners (Samsung, Huawei, Affirmed, Altiostar)

● Fall - First demo with partners ● November 2019 Kubecon NA - Launch OpenShift as Telco initiative

* Plans have yet to be fully committed, could be changed at any time

Page 9: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

CNF certification on OpenShiftActivities in progress*

9

● Testing and developing OpenShift with multiple partners (Samsung, Huawei, Affirmed, Altiostar)

● Fall - First demo with partners ● November 2019 Kubecon NA - Launch OpenShift as Telco initiative

* Plans have yet to be fully committed, could be changed at any time

Page 10: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONFIDENTIAL Designator

PROJECT FOUNDATIONA vision for the longer term

10

Page 11: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

11

KEY MARKET TRENDS

GENERALIST IT STAFF

Infrastructure admins, general operator

CLOUD NATIVE IS THE NEW NORMAL

Driven by the rise of Kubernetes for container orchestration

WORKLOAD OPTIMIZATION

On-prem capabilities for low latency, data intensive

workloads

HYPERCONVERGENCE

Simplicity and consolidation of infrastructure

Page 12: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

12

CUSTOMER CHALLENGES

Enjoy simplicity of public cloud in an on-prem environment

Plan for growth in container adoption while still running VMs

Create a consistent experience across public and on-prem

Page 13: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

13

Unified foundation, hybrid interoperabilityKUBERNETES NATIVE INFRASTRUCTURE

PHYSICAL

APP APP APP APP

VIRTUALPUBLICCLOUD

VM CC C

Page 14: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

14

KUBERNETES NATIVE INFRASTRUCTURE CONCEPTUAL ARCHITECTURE VISION

Kubernetes Container Orchestration (Apps & Infrastructure Services Lifecycle Management)

Linux Container Host on Bare Metal Servers (Immutable, Lightweight)

App

Automation

Container Registry

App &

Infrastructure Services

On-premises Data Center(s)

Sof

twar

e D

efin

ed S

ecur

ity

DNS, Load Balancing

Container

VMs

App

Container

Functions

App

Service Catalog

Identity & Access

Management

Software Defined Compute Software Defined Networking Software Defined Storage

Monitoring

Cost Management

Public Cloud(s)

Container

Page 15: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

15

WHAT IS CONTAINER-NATIVE VIRTUALIZATION?

Add virtual machines to your OpenShift projects as easily as application containers.Easily leverage existing VM-based services from your new workloads!

Page 16: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

CONTAINER-NATIVE VIRTUALIZATION

Leverages tried and trusted RHEL & RHV (KVM) virtualization capabilities.Technology Preview access in OpenShift.

Page 17: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

Container

TOGETHER AT LAST

Virtual Machine

ENTERPRISE CONTAINER HOST

Physical Machine

Container

Resultant virtual machines are able to run side by side directly on the same OpenShift nodes as application containers.

{Pods

Page 18: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

EXAMPLE USE CASE - START WITH A VM

Page 19: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

EXAMPLE USE CASE - IMPORT IT!

Import Using V2V or from an image.

Page 20: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

EXAMPLE USE CASE - BUILD NEW SERVICES

Page 21: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

EXAMPLE USE CASE - START DECOMPOSING

Page 22: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

22

POWERED BY OPENSHIFT CONTAINER PLATFORMINTRODUCING RHHI NEXT

PHYSICAL

APP APP APP APP

VIRTUAL

VIRTUAL

VM CC

Page 23: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

2323

VMC

C

VM

VM

C

STORAGE

WHAT IS RHHI NEXT?Enterprises are willing to pay a premium for completeness, consistency, and simplicity

Unified platform for container and VM workloads under

common management control

Storage, compute, and networking tightly

integrated into OpenShift for seamless customer

experience

COMPUTE NETWORK

DEPLOYMENT & MANAGEMENT

Page 24: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

2424

RHHI Next

3 - 12 SERVERS

+1 SCALABILITY

NETWORK SWITCHES

Easy “cloud-like experience” w/ OpenShift on-premise

Single Part Number (HW & SW)

Simplified Install and operational management

On Prem** Limited Availability in 2H2019

Hyper converged infrastructure & app services

cloud.redhat.com

Page 25: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

WHAT IS IN THE PRODUCT?

● OpenShift Container Platform ● OpenShift Container Storage ● Container-native Virtualization● RHEL CoreOS● Industry Standard Server Hardware● Network Switches (optional)OpenShift Container Storage

RHEL CoreOS

Page 26: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

2626

CUSTOMER BENEFITS

2626

Get the infrastructure for your on-prem app dev up and running quickly

Hyperconverged infrastructure makes it easier to order, install and manage

Consistent operational management with public cloud using with OpenShift

Run virtualized workloads side-by-side with newer container workloads

Page 27: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

27

INITIAL TARGET USE CASES

Developer Cloud(Web & mobile app dev)

Latency sensitive applications

Quick way to get started with full container infrastructure

27

Sample Target AppsContainers VMs

Page 28: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

28

HOW DOES IT WORK?Simplified install and operations

Choose config and order single part

number (HW&SW) via partner

Customer racks and networks the

servers

Run quick deploy utility

GUI wizard installs all services with

appropriate config

Over the air software updates

Page 29: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

OPENSHIFT CONSOLE PROVIDES DAY 2 AUTOMATION

APP APP APP APP

PRIVATECLOUD

PUBLICCLOUD

INFRASTRUCTURE OPERATORS

Page 30: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

LET’S GO A LITTLE DEEPER...

Page 31: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

KUBEVIRT: THE CNV UPSTREAM

● Integrates directly into existing Kubernetes clusters

● Uses a k8s-native approach whenever possible

● Leverage Container Networking Interface (CNI),

Container Storage Interface (CSI), and other

k8s-native integrations

Operating System

Kubernetes

Physical Machine

VM Pod Regular Pod

http://kubevirt.io

Page 32: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

COMPONENTS OF CNV- KubeVirt

The virtual machine operatorhttps://github.com/kubevirt/kubevirt/

- Containerized Data Importer (CDI)Importing diskshttps://github.com/kubevirt/containerized-data-importer

- OpenShift Web ConsoleWith UI extensionshttps://github.com/kubevirt/web-ui

- Containerized Virt-v2vImporting a whole virtual machinehttps://github.com/kubevirt/v2v-job

Page 33: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

KUBEVIRT ANATOMY

Pod

Virtual Machine

Master Minion

virt-handler

virt-controller

Custom Resource

Pod

VM

Minion

virt-handler

Page 34: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

• Build on Kubernetes, adding new API-level resources.• Declarative when paired with a controller.

$ kubectl get crdsNAME AGEdatavolumes.cdi.kubevirt.io 5mvirtualmachineinstancepresets.kubevirt.io 5mvirtualmachineinstancereplicasets.kubevirt.io 5mvirtualmachineinstances.kubevirt.io 5mvirtualmachines.kubevirt.io 5m

CUSTOM RESOURCE DEFINITIONS

Page 35: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

A WORD OF CAUTIONIn a TELCO context, do not expect RHHI NEXT to support:

● SR-IOV● DPDK● VPP● Real Time Kernel● …

in the near future.

Nor should you expect to to go beyond the scale described soon….

Page 36: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

KUBERNETES OPERATORSA tool to reduce operational complexity

Page 37: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

37

KUBERNETES ADOPTION PHASES

1. Stateless apps

ReplicaSets

Deployments

Page 38: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

38

Scaling stateless apps: easy

Page 39: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

39

$ kubectl scale deploy/staticweb --replicas=3

Page 40: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

40

scale up

count=1desired=3

ReplicaSet

Page 41: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

41

start

count=3desired=3

ReplicaSet

Page 42: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

42

What about apps that store data?

Page 43: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

43

Creating a database is easy

Page 44: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

44

$ kubectl run db --image=quay.io/my/db

Page 45: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

45

KUBERNETES ADOPTION PHASES

1. Stateless apps

ReplicaSets

Deployments

2. Stateful apps

StatefulSets

Storage/CSI

Page 46: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

46

Running a database over time is harder

Page 47: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

47

⏣ Resize/Upgrade

⏣ Reconfigure

⏣ Backup

⏣ Healing

Page 48: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

48

KUBERNETES ADOPTION PHASES

1. Stateless apps

ReplicaSets

Deployments

2. Stateful apps

StatefulSets

Storage/CSI

3. Distributed systems

Data rebalancing

Autoscaling

Seamless upgrades

Page 49: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

49

WHAT IS AN OPERATOR?

Embed ops knowledge from the experts

Operator v1.1.2 DeploymentsStatefulSetsAutoscalers

SecretsConfig maps

Page 50: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

50

Flexible apparchitectures

Uniform deployand debug

No reinventionof core concepts

Truly hybrid

OPERATORS FOR ALL

Page 51: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

51

What is etcd?

Example: etcd Operator

● distributed key-value store● primary datastore of

Kubernetes● stores and replicates all

Kubernetes cluster state

Page 52: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

52

Example: etcd Operator

kind: EtcdCluster

apiVersion: etcd.database.coreos.com/v1beta2

metadata:

name: example-etcd-cluster

spec:

size: 3

version: "3.1.0"

Page 53: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

53

Example: etcd Operator

Page 54: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

YES, I WANT THAT!

How do I get it?

Page 55: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

For Builders and the community● Easily create application on Kubernetes via a common method● Provide standardized set of tools to build consistent apps

For application consumers and Kubernetes users● Keep used apps up to date for security and app lifecycle management● Consume Kube-native applications easily and correctly

Product Manager: Daniel Messer

Page 56: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

56

https://github.com/operator-framework

Build Run Operate

Page 57: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

OPERATOR MATURITY MODELPhase I Phase II Phase III Phase IV Phase V

Basic Install

Automated application provisioning and configuration management

Seamless Upgrades

Patch and minor version upgrades supported

Full Lifecycle

App lifecycle, storage lifecycle (backup, failure recovery)

Deep Insights

Metrics, alerts, log processing and workload analysis

Auto Pilot

Horizontal/vertical scaling, auto config tuning, abnormal detection, scheduling tuning

Page 58: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

58

Page 59: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

OPERATOR SDK

Go SDKAnsible SDKHelm SDK

“No code” Operator Perfect for Ops Full power & features

Testing framework

Verification & Scorecard

● “No code” improvements to Helm SDK user experience

● Testing is extremely important for Operators, we have a testing framework built in

● SDK includes a “scorecard” to ensure your Operator is technically correct

OperatorHub

Product Manager: Daniel Messer

Page 60: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

60

HELM SDK● Easiest way to get started – “no code”● Use templating from Helm● Connect values.yaml to Kubernetes object

$ operator-sdk new tomcat-operator --type=helm --helm-chart=stable/tomcat

Page 61: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

61

HELM SDKContainer Build

Tomcat Chartchart.yaml

Operator Containerv1.2.7 chart Tomcat Object

apiVersion: apache.org/v1kind: Tomcatmetadata: name: prod-1.2.7 Namespace: productionspec: replicaCount: 10 maxActiveSessions: 1000

Running Operatorv1.2.7

$ oc get Tomcats --all-namespacesNAMESPACE NAME READY STATUS RESTARTS AGEproduction prod-1.2.7 1/1 Running 0 4dstaging staging-v1.2.8 1/1 Running 1 2h

Page 62: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

62

ANSIBLE SDK● Run Ansible playbooks in an

Operator fashion● Great for Ops teams that aren’t

traditional devs● Takes the human out of the loop● Connects the playbooks to

Kubernetes events like Node failures

Container Build

AnsiblePlaybooks

Operator Containerv1.2.7

Tomcat ObjectapiVersion: apache.org/v1kind: Tomcatmetadata: name: prod-1.2.7 Namespace: productionspec: replicaCount: 10 maxActiveSessions: 1000

Running Operatorv1.2.7

$ oc get Tomcats --all-namespacesNAMESPACE NAME READY STATUS RESTARTS AGEproduction prod-1.2.7 1/1 Running 0 4dstaging staging-v1.2.8 1/1 Running 1 2h

PlaybookMapping

Page 63: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

63

GO SDK● Best way to get to a Level 5 “Auto Pilot” Operator● Use the same tools Kubernetes developers use upstream● Popular for database & storage vendors● Built-in testing framework

if tomcats.length != desired { //initial deployment}

foreach tomcats as tomcat { if tomcat.Spec.Replicas != size { //fix size }}

Page 64: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

64

OPERATORS ACROSS THE INDUSTRY

Lower barrier to entryDon’t have to be an expert in administering the app

https://operatorhub.io

Page 65: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

65

Page 66: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

66

Page 67: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

67

BREAKING DOWN AN OPERATOR

Embed ops knowledge from the experts

Operator v1.1.2 DeploymentsStatefulSetsAutoscalers

SecretsConfig maps

Page 68: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

68

BREAKING DOWN AN OPERATOR

Cluster actions● Install the CRDs and make sure nothing else owns those CRDs● Verify dependent CRDs exist

Run the Operator(s)● Pull and run the container as a Deployment● Watch the correct namespaces with a Service Account

Permissions● Minimal set of permissions to function● Bind those to the Service Account

Page 69: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

69

BREAKING DOWN AN OPERATOR

Cluster actions● Install the CRDs and make sure nothing else owns those CRDs● Verify dependent CRDs exist

Run the Operator(s)● Pull and run the container as a Deployment● Watch the correct namespaces with a Service Account

Permissions● Minimal set of permissions to function● Bind those to the Service Account

apiVersion: operators.coreos.com/v1alpha1kind: ClusterServiceVersion…customResourceDefinitions: owned: … required: …install: strategy: Deployment clusterPermissions: … permissions: … spec: deployments: …

Page 71: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

71

SELF-SERVICE FOR ENGINEERS

apiVersion: mongodb.com/v1kind: MongoDbReplicaSetmetadata: name: example namespace: productionspec: members: 3 version: 4.0.2 persistent: false project: example credentials: my-secret

Page 72: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

72

SIMPLER GITOPS FOR ENGINEERS

apiVersion: mongodb.com/v1kind: MongoDbReplicaSetmetadata: name: example namespace: productionspec: members: 3 version: 4.0.2 persistent: false project: example credentials: my-secret

apiVersion: mongodb.com/v1kind: CustomFrontendmetadata: name: frontend namespace: productionspec: database-name: example highly-available: true resources: cores: 1 memory: 1024

DeploymentsStatefulSetsAutoscalers

SecretsConfigMaps

Service AccountsLimits/Quotas

PersistentVolumes

Page 73: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

73

FULL CONTROL FOR ADMINS

Page 74: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

NEAR TERM

Page 75: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

Rakuten 5G Ready Network

Page 76: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

76

Page 77: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

OpenShift / Kubernetes

standard hardware

OpenStack

KVM Ironic

VM VM

VNF

Compute(Nova)

Networking(Neutron)

Storage(Cinder)

VM VM

VNF

OpenShift on OpenStack(OpenStack Undercloud)

Choices for CY19/20

standard hardware

OpenStack OpenShift / Kubernetes

VM

KVM

VM VM

VNF

CNF CNF

OpenShift & OpenStack(OpenStack Undercloud)

Container Container

Container Container

CNF CNF

VNF VNF

OR

Page 78: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For

plus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews

THANK YOU

Page 79: Begins… Kubernetes, A New Era OpenShift, Containers · Easily create application on Kubernetes via a common method Provide standardized set of tools to build consistent apps For