Professional Documents
Culture Documents
1
Red Hat helps businesses run containers
on any infrastructure
3
STORAGE FOR KUBERNETES
4
Agenda
Agenda
5
Optimizing CI / CD with persistent storage
CI / CD trends in
cloud native development
6
Creating value depends on your ability
to deliver applications faster
7
Optimizing CI / CD with persistent storage
90%
8
Source:
451 Research, “DevOps: The Business and Management of DevOps Voice of the Enterprise 2H 2019 Advisory Report”; Jay Lyman
Optimizing CI / CD with persistent storage
90%
Feel open source software to be
47%
Have open source preference or
15%
Have open source aversion or prohibition
somewhat or very important mandate
9 Source:
451 Research, “DevOps: The Business and Management of DevOps Voice of the Enterprise 2H 2019 Advisory Report”; Jay Lyman
Optimizing CI / CD with persistent storage
10
Optimizing CI / CD with persistent storage
11
Optimizing CI / CD with persistent storage
12
Speeding up CI / CD with persistent storage
Code Run Debug Build Int Test Package Deploy Stage ...
13
Polling Question: What are your prefered CI /CD tools that
support Kubernetes?
(Choose all that apply)
A) CircleCI
B) Travis
C) Jenkins
D) CodeFresh
E) Other
F) None yet
14
Polling Question
Optimizing CI / CD with persistent storage
15
Optimizing CI / CD with persistent storage
16
JRebel research
Optimizing CI / CD with persistent storage
Jenkins features
Self contained Web interface 100s+ plugins Extensible via plugin Easily distributes
Java based Built-in help Integrates with every architecture across multiple
application Built-in error checks tool in the CI/CD Infinite possibilities resources
toolchain
17
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
18
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
19
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
20
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
21
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
22
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
23
Optimizing CI / CD with persistent storage
Jenkins pipeline
Continuous Integration/Delivery
Development Production
Results Report
24
Optimizing CI / CD with persistent storage
Jenkins architecture
25
Optimizing CI / CD with persistent storage
26
Optimizing CI / CD with persistent storage
Problems at scale
27
Optimizing CI / CD with persistent storage
Repetitive issues
● Numerous builds
In real life situations, 1000s+ of daily builds can take place
Builds are happening parallel in many situations
28
Optimizing CI / CD with persistent storage
Mitigation options
● Proxy server
Build servers are known for “downloading the internet”
Use of a proxy server for internet access enables for caching
Huge local network load still remains
● Storage volumes
Mounting shared storage to build servers
Offers local availability of build resources and dependencies
without infrastructure impact
29
Optimizing CI / CD with persistent storage CONFIDENTIAL Designator
30
Speeding up CI / CD with persistent storage
Jenkins on
Kubernetes
31
Optimizing CI / CD with persistent storage
Jenkins in a container
Slave Builder
N redundant file shares, that
Central CI/CD need networking & storage
Slave Builder
Server resources to fill and store
Slave Builder (including i/o)
Schematic view
Don’t do this !
Slave Builder
N redundant file shares, that
Central CI/CD need networking & storage
Slave Builder
Server resources to fill and store
Slave Builder (including i/o)
N slave builders
* Red Hat OpenShift Container
N of builds per day Storage offers a shared volume,
*
concurrent accessible for all Slave
N packages downloaded
Builders
33
Optimizing CI / CD with persistent storage
● Using Red Hat Openshift Container storage can help overcome mount limit
issues and speed build times by as much as 90%
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/volume_limits.html
34
Speeding up CI / CD with persistent storage
About
Persistent storage
35
Why aren’t all companies seeing
the promised benefits of containers?
Pros Cons
36
Why containerized apps need persistent storage
Container Platform
Host OS
Infrastructure
37
CONFIDENTIAL Designator
● Primary for DB and ● POSIX-compliant shared file system ● Archiving, Image and video
38
Speeding up CI / CD with persistent storage
by Sagy Volkov
OpenShift Container
Storage
39
Further resources
Take a look at our “Speed Jenkins performance with
container storage” solution brief.
https://www.redhat.com/cms/managed-files/cl-rhocs-for-jenkins-pipelin
es-brief-f21252-202004-en.pdf
40
Thank you linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
Red Hat is the world’s leading provider of enterprise
41