►
From YouTube: Coding Kubernetes for kids with Scratch and Che
Description
Hey kids,
Do you know Scratch ? It is a programming tool for children. You can just use blocks to code your applications and share them with your friends.
During this talk, we will show you how you can interact with Kubernetes by using our custom Scratch blocks and how we have built these blocks with Eclipse Che.
Come and play with us.
Speaker(s):
Sun TAN (Red Hat, Inc.)
Ilya Buziuk (Red Hat, Inc.)
A
Hello,
everyone,
so
I
hope
you
have
a
great
time
at
kipscon.
So
thank
you
for
joining
this
session,
about
coding,
kubernetes
for
kids
with
scratch
and
a
history.
My
name
is
santan.
I
work
for
red
hat
as
a
software
engineer,
and
I
am
one
of
the
kids
chair.
Committer
I've
been
contributing
to
this
project
for
the
last
six
years
and
I'm
also
enjoying
speaking
at
developer.
A
Events
such
as
java
1
gun
or
devops
france,
and
during
my
free
time
I'm
leading
the
paris
java
user
group
and
I'm
also
brewing
my
own
beer
in
my
kitchen.
You
can
follow
me
in
twitter,
with
the
hash
with
the
handle
at
underscore,
underscores
unix
underscore,
and
you
can
also
follow
the
hashtag
traders.
These
are
short
videos
and
I'm
tweeting
from
time
to
time
with
that
presents
a
nice
feature
that
we
have
in
check
the
maximum
one
minute.
B
Folks,
my
name
is
ilya,
I'm
also
software
engineer
from
red
hat,
I'm
eclipse,
chair
and
eclipse
javascript
development
toolkit.
Currently,
I'm
mostly
working
on
eclipse
chair,
hosted
by
red
hat.
It's
our
open
source
free
of
charge,
sas
offering
and
it's
actually
the
easiest
way
to
try
eclipse
chat
so
just
go
to
chat,
openshift
register
in
a
few
clicks
and
you
will
be
provisioned
with
the
new
account
with
8
gigabytes
of
ram
and
2
gigabytes
of
storage,
to
try
eclipse
share
with
our
getting
started
samples
or
to
try
to
develop
your
own
pet
project
there.
B
A
B
Maybe
you
are
a
grief
fan
and
you
use
web
ui
or
openshift
web
console
to
see
all
the
resources
you
have
in
the
namespaces
or
maybe
you
are
a
developer
and
you
use
various
libraries
for
various
languages
to
interact
with
kubernetes
and
create
resources
in
the
namespaces.
For
example,
we
have
a
wonderful
fabricate,
kubernetes,
client
library
that
we
use
in
eclipse
under
the
hood
to
interact
with
kubernetes
and
and
today
with
sun.
We
are
going
to.
A
B
Intricate
and
it's
not
really
straightforward
to
get
the
application
up
and
running
in
the
right
way
on
the
kubernetes.
But
today
we
want
to
focus
on
the
kubernetes
learning
curve,
which
is
really
high,
and
today
with
sun.
We
want
to
actually
lower
the
fans
a
little
bit
and
provide
fun
and
easy
way
to
interact
with
the
kubernetes
using
price
programming,
language
and
eclipse
chair
id
and
now
back
to
sam.
Who
is
going
to
introduce
you
to
branch.
A
Yes,
so
thank
you
for
the
quick
installation
yeah.
So
maybe
some
of
you
may
not
know
what
is
scratch,
and
I
was
thinking
that
the
best
way
to
show
you
the
scratch
could
be
with
a
live
demo.
So,
let's
go
to
the
web
browser
open
the
scratch
website
so
scratch.mit.edu
and
on
to
get
there.
You
can
create
a
new
account,
so
it's
already
good
for
me
and
you
can
create
a
new
project.
A
So
when
you
create
a
new
project,
it's
it
is
going
to
load
the
scratch
editor
and
what
you
see
on
the
on
the
right
is
the
kind
of
game
board.
So
this
is
where
you're
gonna
have
your
game
running.
So
by
default
there
is
a
the
the
cat,
so
his
name
is
scratch
in
the
middle.
You
have
the
source
code
where
you
can
move
blocks
that
are
on
on
the
left
panel.
A
So
you
can
see
there
is
various
categories
of
blocks,
motion,
loops,
sound
events,
control
and
operators
variables.
You
can
even
set
up
variables
and
so
on.
You
can
also
create
your
own
blocks.
It's
it
would
be
like
creating
a
function.
A
A
A
It
is
actually
a
race
car
that
we
have
put
up
with
my
son
he's
eight
years
old
and
we
did
that
together,
so
so
to
see
these
blogs-
and
this
is
the
the
game
itself.
A
A
That
I
can
keep
playing
for
forever,
but
I
think
we
have
other
things
to
show
for
this
for
this
story.
So
that's
pretty
for
the
scratch
presentation.
A
So
I
can
move
back
to
the
presentation
and
I
think
here
you
wanted
to
talk
a
bit
about
ekiti.
B
Yes,
son,
thank
you
for
the
great
scratch
introduction
and
before
we
move
on
to
the
demo,
the
main
demo,
I
will
say
a
couple
of
words
about
eclipse
chat.
So,
as
you
might
know,
eclipse
chat
is
the
kubernetes
native
id
for
developer
teams
and
it's
actually
also
a
project
on
the
eclipse
foundation,
open
source
project,
obviously
on
the
eclipse
public
license
2.0.
B
But
not
only
can
you
find
the
eclipse
here
under
the
eclipse
umbrella.
If
you
go
to
the
cncf
website,
you
will
be
able
to
find
eclipse
share
on
the
cloud
native
landscape
next
slide.
Please
so
here
is
eclipse
chat
and
the
motto
of
our
project
is
that
anyone
anytime
can
contribute
to
a
project
without
actually
installing
software
and,
if
you
think
about
it,
our
development
environment
and
the
applications
change
dramatically
for
the
last
decade.
B
If
you
think
about
it,
what
was
coding
look
like
like,
let's
say
15
years
ago,
it
was
let's
say
java
and
it
was
java
from
front
to
back
from
top
to
bottom.
So
you
had
one
version
of
gvm
one
version
of
the
application
server
and
was
pretty
much
it.
But
now
in
the
cloud
native
landscape,
the
situation
changed
dramatically.
So
we
have
various
of
projects.
Microservice,
architectures
and
our
laptops
are
not
ideally
suited
for
this
land
landscape
because
we
have
limitations
to
ram.
B
We
have
limitations
to
cpu
and
storage
and
eclipse
actually
shines
when
we
develop
it
in
the
cloud
for
the
cloud.
So
eclipse
check
can
be
deployed
on
any
flavor
of
kubernetes
could
be
vanilla,
kubernetes
or,
let's
say
open
shift,
which
is
downstream
project
of
kubernetes
and
with
eclipse
shell.
We
define
a
new
kind
of
workspace
because
we
containerize
everything
not
only
our
internal
things
like
just
server
database
or
key
cloud
quantification.
B
Everything
is
running
inside
the
containers
and
ports,
even
the
ide,
and
it
allow
us
to
provide
the
easy
to
configure
highly
reproducible
definition
of
workspaces
that
can
be
shared
amongst
the
teams,
and
you
will
now
have
the
problem.
B
B
So
it
has
a
vs
code
like
experience,
because
it's
called
back
on
monaka
editor
and
it's
the
very
same
editor
that
is
used
under
the
hood
in
vs
code.
So
if
you
get
used
to
vs
code,
it
will
be
easy
switch
for
you
to
eclipse
and
we
have
a
built-in
support
for
various
languages
and
debuggers
with
the
language,
server
protocol
and
debug
adapter
protocol
and
the
last
but
not
least,
eclipse
chase
compatible
with
vs
code
extent.
B
And
now,
after
this
quick
introduction,
I
move
back
to
sun
with
the
main
demon.
A
A
So
I'm
going
to
switch
back
to
the
the
scratch
user
interface,
and
so
what
we
would
like
to
do
is
to
add
a
new
library
of
blocks,
so
new
category
of
blocks
with
blocks
that
could
interact
with
kubernetes
such
as
get
pods
or
get
namespace
or
and
so
on
so
and
it
any
a
single
course
to
kubernetes
that
you
could
find
in
any
traditional
humanities
tenet.
A
A
A
When
you
have
your
your
game
or
your
your
programming
written
and
in
scratch,
vm,
you
could
add
so
your
custom
blocks
in
there
and
and
then
and
these
custom
blocks
that
we
have
that
we
have
prepared
for
you
we'll
call
the
a
rest
api
that
is
written
in
quakeus
and
this
rest
service
will
actually
make
the
real
cost
into
a
kubernetes
using
the
fabricate.
A
A
So
when
you,
when
you
create
this
workspace
out
of
the
box,
you
will,
it
will
show
you
this
guide,
just
to
tell
you
how
to
to
run
this.
The
the
demo
so-
and
the
first
thing
it
would
ask
you
to
do-
is
to
run
this
free
command.
A
So
I
have
already
started
the
first
one
and
I
could
use
the
the
the
right
panel
to
run
the
other
commands
and
these
commands
will
run
will
be
run
into
a
dedicated
containers
that
we
have
defined
in
a
in
our
workspace.
A
So
we
have
one
center
container
that
we,
where
you
we're
gonna,
run
the
crocus
backend
and
we
have
a
component
a
container
that
will
run
the
node.js
application,
so
the
the
scratch
application,
so
I'm
gonna
run
the
second
command
and
that
will
compile
the
the
the
scratch
application
in
devmod,
so
the
node.js
application
and
make
it
available
to
us.
A
So
I'm
just
waiting
it
for
for
it
to
be
to
be
change
the
combination,
so
this
is
going
to
be
a
live,
dev,
dev
mode
and
every
time
I'm
gonna
do
a
change.
It's
the
challenge.
Gonna
be
applied,
live
so
let's
open
it,
and
here
it
is
the
the
scratch
the
ui.
A
A
Okay,
so
I'm
gonna
switch
that
to
english,
and
so
what
we
have
here
is
the
squad
application.
So
you
you
don't
see
the
kubernetes
library
you
have
to
install
it
from
there,
and
here
we
are
so.
These
are
the
kubernetes
blocks
that
we
have
written,
let's
play
with
this
one,
so
I'm
gonna
try
to
use
the
events
when
the
green.
Finding
the
green
flag
is
clicked
and
I
will
stay
say
hello,
not
say
get
buds,
so
we
will
display
so
scratch
a
scratch.
A
So
the
little
cat
will
say
the
the
list
of
thoughts
that
we
have
in
our
current
namespace.
So
let's
give
it
a
try.
A
Okay,
so
it
doesn't
what
we
really
expected
right.
It's
actually
the
vista
protein
json
in
the
json
format
we
so
I
have.
We
have
also
created
a
few
blocks,
such
as
get
the
number
of
pods
from
this.
A
Get
get
one
of
the
pods
from
the
list,
so
I'm
gonna
do
that.
It's
also
what
we
display
a
pod
in
a
json
format,
but
I
can
display
the
name
with
this
block.
A
I
displayed
the
first
one.
It's
called
cleanup
one
dash
deploy,
so
I
can
have
a
look
in
either
with
I
would.
I
would
do
it
with
with
doc
command
instance
here
and
oc
products,
and
yes,
so
the
first
one
is
called
deploy
as
we
we
have
seen
here.
I
can
randomly
take
the
maybe
the
third
one.
A
Yeah
eclipse
can
scratch
kubernetes,
so
this
is
the
one
that
we
have
created
here
that
we
can
see
here.
I
can
even
see
if,
if
I,
if
I
display
the
the
the
number
of
pods,
make
sure
that
the
number
is
is
is
changing
so
so
now
we
have
ten
ten
ten
pods
in
the
in
in
during
this,
and
I
can
use
the
openshift
console
to
create
a
new
code
in
my
namespace
and
see
that
we
have
one
more
part
in
the.
A
So
if
I
come
back
to
my
scratch
application
and
if
I
run
again
the
game,
it
is
now
showing
11
pods.
A
So
what
I
can
also
show
you
is
one
of
so
I
have
created
a
more
advanced
kubernetes
kubernetes
scratch
project
that
will
iterate
through
the
the
pods
and
show
the
name.
So
if
I
run
it,
it
shows
okay,
adamarandez
11
pots,
and
I
have
I
have
a
an
event
a
listener
when
a
space
is
pressed,
then
move
to
the
next
section.
So
this
is
done
here.
A
But
if
I
click
on,
I
press
paste,
it
would
go
to
the
next
one
and
the
space
again
and
next
one
next
one
again.
Okay,
so
I
could
see
the
pod
that
had
created
a
previously.
So
it's
the
number
four
and
go
into
the
dm.
A
And
that's
it
so
I
would
like
to
finish
now
with
with
what,
if
we
want
to
add
more
blocks
into
that
library,
so
I
have
made
available
in
in
this
guide
the
action
to
open
the
the
right
files
that
you
need
to
to
perform
that.
So
there
is
a
open,
kubernetes
client
service,
the
java
which
will
open
the
the
class.
A
That
is
responsible
of
serving
as
a
rest
api
at
our
application.
So
yes,
the
the
service
that
we
interact
with
kubernetes.
So
it's
used
the
fabricate
rescant
and
we
use
that
to
this
to
display
the
list
of
pods
when
it's
not
here
and
I
have
created
a
previously
a
method.
A
And
so
this
is
done,
so
what
we
had
to
do
next
is
to
to
create
the
blocks
itself.
That
would
call
this
this
endpoint,
so
I
would
go
into
that
file
that
is
located
inside
the
scratch
vm
projects
and
in
the
scratch
free
kubernetes
extension,
and
this
file
contains
the
blocks
that
we
have
in
our
library.
So
we
you,
you
can
see
the
blocks
that
I
have
created
previously.
A
So
I
would
just
copy
this
the
first
this
first
one
this
first
one
and
each
then
each
blocks
description
would
code
the
right
the
the
method
underneath
with
the
same
name.
So,
for
instance,
a
getpodname
will
call
the
getpointname
method,
so
I
can
just
if
I
want
to
have
a
new
blocks,
for
instance,
to
display
the
current
the
namespace
where
we
are,
I
can
just
create
a
new
add
a
new
description
here,
use
the
right
name
for
the
method.
I'm
I'm
going
to
to
create
afterwards.
A
It
is
not
going
to
be
a
block
type
command,
so
commands
is
when
you
don't
have
anything
to
return
and
we
have
a
reporter
block
type,
which
is
when
you
have
a
value
to
return.
A
Okay,
I
won't
display
any
provide
any
arguments
to
this
to
this
block
and
then
that's
it.
I
have
to
create
now
the
get
namespace.
So
I
would.
I
would
just
copy
paste
the
set
namespace
method
and
modify
it
a
bit.
A
A
So
there's
something
wrong
here
because
because
because.
A
Okay,
so
if
I
go
back
to
that's
that
the
the
command
that
had
started
previously,
it
has
normally
recompile
it.
Okay,
I
can
just
refresh
the.
A
I
can
reopen
the
blocks
and
I
could
see
the
new
block
that
we
have
created.
So
it's
it's
available
and
I
can
use
I
can
like
privacy
display
it
with
the
save
block
say,
get
namespace
and
click
yes.
So
it's
displaying
my
namespace
okay
and
to
prove
that
I'm
not
cheating.
A
A
A
Okay
and
thanks
to
the
quakers,
live
reload
and
death
mode.
We
can
see
now
the
the
namespace
in
uppercase,
that's
pretty
for
the
demo.
A
A
Yes,
we
did
a
a
a
good
start
for
to
achieve
that,
exposing
kubernetes
as
scratch
blocks
and-
and
you
could
imagine,
being
able
to
create
things
like
maybe
a
a
clone
of
the
of
the
openshift
web
console
but
written
in
with
with
scratch,
and
I
think
it's
it.
Yes,
it's
it's.
It's
really
is
a
a
good
start
to
that.
What
do
you
think
india.
A
Yes,
exactly
and
when
we
when
we
actually
started
the
this
this
this
project.
I
started
that
with
my
eclipse,
chair,
workspace,
and
that
was
it
was
running
inside
my
my
my
gcp
kubernetes
cluster,
and
the
only
thing
I
had
to
do
when
I
wanted
to
share
that
with
idya
was
to
to
to
share
the
dev
files
and
and
idiya
was
able
to
run
that
on
his
own
chair
instance.
That
were
was
running
on
on
osd
on
openshift
and
was
working
out
like
a
charm
and
the
yeah.
A
The
next
item
was
is
kubernetes
accessible
for
for
kids
now,
so
I,
as
far
as
are
concerned-
I
I
think,
maybe
not
for
kids,
but
at
least
it
will
make
it
easier
for
for,
for
even
developers
like
us
to
to
to
to
to
quickly
create
application
that
would
interact
with
kubernetes.
So
even
for
us,
you
know,
even
if
you
are
used
to
java
or
javascript,
creating
a
an
application
with
a
nice
ui
that
we
quickly
interact
with
kubernetes
is
not
straightforward,
and
that
would
make
it
a
lot
easier.
B
Absolutely-
and
I
mean
indeed
kubernetes
for
kids
is
pretty
much
catchy
headline
for
the
conference,
but
we
provided
yet
another
way
to
interact
with
kubernetes
in
a
pretty
easy
and
fun
way,
and
on
top
of
it
you
got
the
modern
cube
native
id
for
coding.
It
was
actually
amazing
how
you
developed
the
quarkx
and
it
was
automatically
rebuilt
and
you
know,
hosted
with
the
eclipse,
runtime
environment,
so
yeah.
I
believe
it
was
great.
A
Yes,
thanks.
Okay,
so
I
think
we
can.
I
can
show
you
now
how
you
can
replay
this
demo,
your
own
instance.
So
if
I
go
back
to
sensation,
so
this
is
the
link
to
the
repo
and
in
this
repo
there
is.
A
There
is
some
indication
how
you
can
run
that,
so
you
have
to
to
install
chase
somewhere
in
the
in
the
cloud
or
even
on
your
own
laptop.
So
we
have
the
full
documentation
on
a
website
install
it
either
on
openshift
or
in
your
own
cloud,
or
the
public
clouds
like
gcp
or
amazon,
and
then
once
you
have
done
that
you
have,
you
would
have
to
replace
your
tray
host
here
and
then
provide
with
the
factory
service.
A
The
url
of
the
this
this
ripple
and
what
would
che
do
is
look
at
if
there
is
a
depth,
finder
jammer,
that
that
is
in
that
repo
and
have
a
clock
in
there.
It
would
pause
this
file
and
generate
the
the
the
environment
exactly
this,
the
the
one
that
you
have
seen
just
here:
okay
with
the
guide
and
everything
and
then
we'll
be
ready
to
to
start
coding
to
start
coding.
A
So
the
device
is
pretty
much
like
a
docker
compose
file,
but
where
we
add
more
information
for
to
to
clone
the
right
project
and
and
to
have
the
right
container,
also
to
build
your
application
and
with
the
right
commands
to
to
build
or
run
your
application.
B
A
A
Yes,
so
this
is
a
question
from
mark,
so
he's
saying.
A
Yes,
so
what
is
the
good
edge
to
start
coding
with
your
kids?
Mine
have
recently
turned
five,
but
I
think
it
may
be
a
little
early
they're
just
starting
to
to
read
write
some
words.
A
So
I
can
answer
that
because
I
also
have
a
children,
so
minds
are
five
and
eight
years
old
and
I
think
for
scratch
is.
It
is
a
little
bit
early
for
to
start
because
they
need
to
to
be
able
to
to
to
read
and
to
understand
how
the
what
what
the
block
is
doing,
but
there
is
a
project
called
the
scratch
junior.
A
That's,
maybe
something
that
you
could
try
with
with
five
years
old
or
sixty
years
old
child,
and
otherwise
there
is
some
if
you
want
to
to
to
start
with,
with
with
the
the
concept
of
programming
for
for
children,
there's
also
some
board
games
like
robot
tartars.
A
A
There
is
no
computer
required,
but
it
is
very
a
good
way
to
that's
how
the
the
right
concept
of
programming
and,
and
and
and
so
on-
and
there
is
also
a
cubato
which
is
a
robot
that
you
can
program
if
there
is
a
board
to
program
the
robot
to
make
it
move,
make
it
move
so
very
nice
as
well,
but
a
bit
expensive
and
that's
it
for
the
questions.
A
Thank
you
very
much
for
attending
this
this
session
and
yes,
don't
hesitate
to
to
yes
to
join
in
mata
most
and
and
ask
any
questions
if
you
need
any
help.
Thank.