hi everyone my name is sai venom and I'm
a developer advocate with IBM today we
want to talk about OpenShift OpenShift
is a platform that allows you to run
containerized applications and workloads
and it's powered by kubernetes under the
covers something that I want to clear up
right off the bat is the different
flavors that are available with
openshift now the open source project
that actually powers open shipped is
called okd or origin kubernetes
distribution and you can start with that
for free today
openshift on the other hand has multiple
flavors and it's an offering that comes
with the Red Hat support regardless of
where you choose to run your
applications and workloads let's take a
look at what the architecture of
installing and working with open shipped
would look like now one of the big
advantages is being able to take
advantage of public or private resources
for running openshift
so that includes bare metal or
virtualized hardware whether it's on
print or on a cloud provider on top of
that we're going to have the operating
system which has generally Red Hat
Enterprise Linux but you can also use
CentOS when working with okd on top of
that we're gonna have kubernetes and if
you want to learn more about kubernetes
check out some of the other great videos
that we have so we'll have the
kubernetes layer here finally this is
where OpenShift really comes in it's a
layer that's built on top of kubernetes
and makes working with it much easier
openshift takes a lot of the difficult
tasks like deploying applications and
doing things like day-to-day operations
easier by building a web console and a
CLI as well as a facade on top of
kubernetes to make all of those tasks
just a little bit more streamlined and
easy to do let's go with two different
types of engineers that really benefit
from taking advantage of openshift we'll
start with developers so we'll sketch
out a developer up here now what does
the developer have to do well they
generally have to write applications
create changes test them out deploy them
into a cluster
and they're really just focused on that
and any other kind of distractions will
slow them down on from that task so a
Deb the first thing that they're gonna
want to do when starting with open shift
is to create a project and an
application to do so openshift has two
different ways of enabling developers to
work with their platform so one you can
take advantage of the CLI and there's
also a really powerful web console that
they could work with as well so the
first thing that the dev wants to do is
take advantage of one of those two form
factors to create a project and an
application and there's templates for
all different kinds of source code and
programming languages the dev wants to
work with so they'll go ahead and do
that and then you know once they get
into a flow of creating updates to an
application
the very first step they're going to
want to do is push changes to a
repository and in this case let's use
github as an example say that this
developer is making changes and together
that's really all they need to do behind
the scenes open shift is going to take
care of the rest so when that
application and project was created
OpenShift in the backend will create a
Jenkins job and pipeline that helps
power deploying this application so once
code gets pushed into that github you'll
trigger a web hook which kicks off a
Jenkins job just gonna do two things
first what it's gonna do is do something
called source to image which is going to
create a docker image out of that that
source code next it's going to go ahead
and take that and put it into a registry
a private registry which comes built-in
and openshift and in fact you can
actually use public registries or your
own registry if you have it outside of
this context as well once that image
gets built and pushed into that registry
next what what openshift will do is go
ahead and push that into the actual
cluster and that's what we've got here
is two hosts that are in our cluster in
openshift we're going to take that image
and let's say that we set it up to
deploy
two times and we'll call this v1 of the
application so let's kind of overview
that process one more time so the
developer makes them change to a code
then Jenkins will kind of kick off that
build create an image push that image to
a registry and then the hope of a
different thing here so in this step
right here openshift takes advantage of
something called image streams which is
a little bit different to how kubernetes
will do things and essentially what it
enables you to do is whenever a change
is kind of detected with that image an
image stream will allow you to push
those with no downtime to your
applications so it'll do is you know
with that new version of that code it'll
bring down the old version start the new
version until we've rolled out the whole
new version of that application this is
just a few ways that openshift makes
developers lives easier next like let's
talk about operations engineers and how
OpenShift makes their lives a little bit
easier I'd say there's two major things
that operations teams really need to
worry about on a day-to-day and it's
totally different than what a developer
needs to do so for one they need to
maintain a high availability and they
need to make sure you know things like
site reliability engineers do this to
make sure that the applications are
available and the infrastructure is
healthy and to do so openshift has that
web console that we've talked about in
addition to the CLI but the web console
is a great way for them to really take
advantage and make sure they're getting
that that availability number that
they're looking for so that's one way
that operations engineers benefit from
taking advantage of openshift
next let's talk about maybe scaling out
some one of these hosts so let's say
that we've taken advantage of all of the
load are all of the capacity of these
hosts and we want to scale out another
one the process of scaling up a new host
adding it into the cluster can be quite
painstaking but openshift takes
advantage of something called ansible
playbooks which are a great way of
automating all of those different paths
that an operations engineer might have
to do one of them being scaling up the
number of hosts so by taking advantage
of an answerable playbook they can go
ahead and spin up the creation
of a new host and bring that into that
cluster this is just one of the examples
of how openshift makes operations
engineers lives easier in the day to day
thanks for joining me for this quick
overview of open shift if you've enjoyed
this video be sure to drop a like if you
have any questions drop a comment below
and be sure to subscribe for more videos
in the future