KubeCon NA, Seattle, 2016: Performance and Scalability Tuning Kubernetes for OpenShift and Docker

32

Transcript of KubeCon NA, Seattle, 2016: Performance and Scalability Tuning Kubernetes for OpenShift and Docker

Page 2: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

●●●

Page 3: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

http://j.mp/ose-perf-scale

Page 4: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 5: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 6: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 7: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

Attribute Build Farm

CPU Intensive High

Memory Intensive High

Disk I/O Latency Low

Disk I/O Throughput High

Network Latency Low

Network Throughput High

Security Low

Uptime (Live Migration) N/A

Deployment Speed High

Alternative OS N/A

Icon Meaning

Mature and/orNo Perf Concerns

Immature and/orLimited Perf Concerns

Mixed Concerns

Not Applicable

Page 8: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 9: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 10: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

CONTAINER DISCOVERYVIA REGISTRY

ORCHESTRATION WITHKUBERNETES

Red Hat works with the open source community to drive standards for containerization.

ISOLATION WITH LINUX CONTAINERS

CONTAINER FORMAT WITH DOCKER

Page 11: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

Atomic Host - a container-optimized, minimal footprint OS powered by Red Hat Enterprise Linux

Telemetry - logging and metrics for pods/containers, services and underlying infrastructure to make informed decisions

Runtime and Packaging Format - standardized container packaging format and runtime, powered by Docker (and OCI)

Automation and host configuration management via Cockpit to dynamically provision and configure container host clusters

Orchestration - for complex multi-container services, powered by Kubernetes

Networking - scalable, multi-host container networking, powered by Open vSwitch, that runs anywhere Red Hat Enterprise Linux runs

Cluster Services - Scheduling for services across a container host cluster, powered by Kubernetes

Storage, with persistent storage plugins to enable running of stateful services in containers

Atomic Registry - integrated storage and management for sharing container images

Security to prevent tenants from compromising other occupants

Page 12: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 13: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

1.

2.

3.

Page 14: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

● 2x Intel E5-2680v3 12-core● 256GB RAM● 2x Intel S3610 400GB SSD● 1x Intel P3700 800GB NVMe

PCIe SSD● 1x QP Intel X710

●●●●●

Page 15: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

●●

Page 17: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

●●●●●●●●●

Page 18: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

ClusterLoader:

projects:

- num: 1000

basename: nginx-explorer

tuning: default

templates:

- num: 10

file: cluster-loader/nginx.yaml

- num: 20

file: cluster-loader/explorer-pod.yaml

Page 19: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 20: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 21: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

Kubernetes Object Quantity

Nodes 1,000

Namespaces (projects) 13,000

Pods 52,000

Build Configs 39,000

Templates 78,000

Image Streams 13,000

Deployment Configs and Services

39,000 (incl. 13,000 Replication Controllers)

Secrets 260,000

Routes 39,000

Page 22: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 25: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

●○

●○

●●●

Page 26: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

●○○

■■■

●○

Page 28: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker
Page 29: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker

●● ●

●●

Page 32: KubeCon NA, Seattle, 2016:  Performance and Scalability Tuning Kubernetes for OpenShift and Docker