►
From YouTube: Moving Everything to Container Storage Interface without Anyone Noticing -Jan Šafránek Red Hat OSCG
Description
Moving Everything to Container Storage Interface without Anyone Noticing
Speaker: Jan Šafránek Red Hat
Storage Update
OpenShift Commons Gathering Kubecon EU
May 17, 2022 Live from Kubecon EU in Valencia, Spain
Full Agenda here: https://commons.openshift.org/gatherings/OpenShift_Commons_Gathering_at_Kubecon_Europe_2022.html
Learn more at: https://commons.openshift.org
A
My
name
is
janja
franek.
I
work
at
hardhat
and
I
am
sick
storage
tech
lead
upstream
and
also
I
am
a
team
lead
of
a
small
team
in
storage
in
red
hat
that
manages
openshift
storage.
So
I
wear
many
hats,
partly
upstream
party
downstream,
and
I
will
talk
here
about
a
recent
feature
that
we
have
been
working
on
in
upstream,
where
we
are
removing
code
from
kubernetes
and
moving
in
somewhere
else
and
hopefully
without
nobody
noticing.
If
we
did
our
work
right
here
down,
you
can
find
a
link
to
the
slides.
A
So
before
I
start,
let
me
show
you
brief
intro
into
kubernetes
history.
It's
long
in
july,
2015
we
released
kubernetes
1.0.
I
was
there.
I
have
my
code
there
and
our
storage
story.
There
was
called
volume
plugins
we
had
10
of
them.
The
name
would
suggest
that
there
are
plugins,
you
can
plug
them
in.
You
can
plug
them
out
in
runtime,
but
that's
false.
They
are
hard
coded
in
kubernetes
github
repository.
A
You
can't
link
them
dynamically,
so
anybody
wants
to
guess
how
many
volume
plugins
we
had
two
years
later
in
september,
2015
17
any
number.
A
Nobody
come
on
how
many
volume
plugins
we
had
in
2017.
We
had
10
in
2015,
so
how
many
we
had
in
2017
18
close
20
25.
We
got
27.
A
We
want
something
that
is
pluggable
in
runtime
and
we
don't
want
to
maintain
in
the
kubernetes.
So
first
attempt
was
were
flex
volumes.
They
were
kind
of
clunky,
both
on
the
kubernetes
side
and
on
the
storage
provider
side
and
in
late
2017.
We
introduced
container
storage
interface
as
alpha,
and
that
was
our
future
for
storage
in
kubernetes.
A
As
a
carrot
on
the
stick,
so
we
lure
everybody
to
use
csi
we
implement
it.
We
started
implementing
the
new
features
like
snapshots
like
cloning,
whatever
only
as
in
csi.
So
if
you
want
snapshots,
you
must
use
csi
entry
volume
plugins,
you
will
never
get
snapshot.
Support
csi
got
extremely
extremely
popular.
A
Yesterday
I
did
the
numbers
I
found
100
140
csi
drivers
that
I
know
about.
I'm
pretty
sure
there
are
many
other
drivers
that
are
proprietary
and
I
don't
know
about
the
140
drivers
and,
as
we
developed
the
csi
drivers
for
the
clouds
and
storage
backends
that
we
knew
we
ended
up
with
the
entry
volume
plugin
that
has
some
features
and
the
csv
driver.
It
has
the
same
features
plus
the
new
features,
and
we
ended
up
with
two
codes
that
we
needed
to
maintain
and
early
in
2018.
A
We
decided
we
want
to
get
off
the
entry
code.
The
same
applies
to
entry
cloud
providers.
Again
we
don't
want
to
maintain
integral
providers
and
external
cloud
providers,
so
entry
must
go
away.
That
was
2018.
A
A
So
what
actually
is
csi
migration?
I
already
said
we
are
moving
code.
We
are
not
moving
your
data,
the
state
data
stays
where
it
is.
We
are
not
changing
the
api.
The
api
object
stays
exactly
the
same.
So
if
you
have
a
kubernetes
or
openshift
cluster,
we
have
entry
volume
plugins
in
three
volume,
pv
storage
classes,
stickers,
demand,
sets
everything
and
you
upgrade
to
a
version
where
csi
migration
is
ga
nothing
changes.
A
A
So
in
theory,
nobody
should
ever
notice
that
there
is
any
csi
migration
happening
right.
We
did
our
homework
upstream.
We
did
the
test
ci
everything
the
same
with
openshift
test,
ci
everything,
and
we
will
support
it,
so
we
got
your
covered,
but
on
the
other
hand,
I
am
a
software
engineer,
and
it
makes
me
kind
of
uncomfortable
to
throw
away.
A
Here
is
an
example
of
amazon
cloud
provider
and
the
volume
plugin.
We
are
throwing
away
17
000
lines
of
code,
including
commands,
including
unit
tests
that
is
tested
to
death.
It
runs
in
production
for
many
years.
Everybody
knows
how
it
behaves.
Everybody
knows
its
corner
cases
and
we
are
replacing
it
with
some
other
code
in
the
csi
drivers.
The
css
drivers
they're
running
in
production
today
again
pretty
well
tested.
We
know
how
it
behaves
just
that
translation
between
the
inter
volume
plugin
and
the
css
driver.
A
A
A
A
You
add
the
last
line
feature
set
tech
preview,
new
upgrade.
It
will
enable
all
tech
preview
features
in
your
cluster,
including
synthetic
migration,
including
all
the
other
tech
preview
features,
but
there
is
a
catch.
The
no
upgrade
suffix
means
that
you
can't
upgrade
upgraded
that
cluster.
So
please
don't
do
that
in
production.
A
This
is
for
ci
for
testing
for
your
lab
environments.
So
you
can
try
new
features
in
openshift
before
they
get
ga
before
you
upgrade
your
clusters.
A
When
you
enable
tech
preview,
no
upgrade
features,
it
will
enable,
like
the
feature
gate
in
kubernetes,
and
when
it's
doing
this
it
will
drain
your
cube.
It
will
drain
your
nose
and
restart
the
cubelets,
so
it
will
take
some
time
if
you
have
big
cluster.
This
will
take
some
time
in
small
clusters.
It
takes.
I
don't
know,
5-10
minutes.
A
Here
is
the
timeline:
what
we
do
in
both
in
upstream
and
in
openshift
and
in
the
middle.
There
is
a
column
when
you
can
start
testing
csi
migration
in
openshift.
A
A
A
It's
really
the
best
time
to
start
this
thing
before
it's
too
late
and
let
us
know
how
it
works.
A
This
schedule
is
kind
of
optimistic.
This
is
just
the
current
upstream
plan
for
the
future
releases.
We
have
shifted
the
ga
graduation
a
couple
of
times
already,
but
I
think
right
now
it
is
the
right.
It
looks
like
it's
going
ready
to
happen
and,
of
course,
please
read:
release
notes,
for
example,
for
vsphere.
We
are
deprecating
support
for
old
vsphere
versions
and
kubernetes
one
sorry,
openshift
413
will
most
probably
require
version
7.0.2,
which
is
the
current
vsphere
version.
So
if
you
have
anything
on
6.7
or
7.0.0
start
thinking
about
upgrades.
A
Here
is
here
are
a
couple
of
recommendations
that
I
with
my
upstream
head.
I
would
recommend
everybody
if
you,
if
you
are
starting
new
clusters
and
you
have
a
csi
driver
available
there,
which
is
ga,
then
please
forget
about
entry.
Plugins
use
csi
exclusively.
A
You
will
not
exercise
this
csi
translation,
csi
migration,
layer
and
our
lives
and
your
lives
could
be
simpler
if
you
have
existing
cluster
with
existing
volumes
in
three
volumes
and
you
have
the
possibility
to
move
to
csi,
please
move
to
csi.
I
know
it's
often
well.
In
most
cases,
it's
not
possible
because
you
need
to
back
up
all
the
data
and
restore
them
somewhere
else.
A
So,
but
if
you
have
the
chance,
please
you
start
using
csi
and
in
both
cases
forget
that
entry
ever
existed.
If
you
have
a
existing
cluster
with
entry
volumes
and
you
can't
move
them
away,
we
are
here
for
you.
We
have
this
csm
aggression
exactly
for
you,
so
your
cluster
will
work
should
work
after
upgrades
and
we
will
support
the
this
entry
pvs
entry
storage
classes
in
foreseeable
future,
which
is
very
short
this
time.
But
we
are
not
planning
to
removing
the
support
of
these
in
three
pvs
into
storage
classes.