►
Description
In this talk, I will be explaining how one can run local Kubernetes clusters using various tools such as minikube, kind, and microk8s.
A
Hello,
everyone
welcome
to
kcd
bangalore,
I
am
miha
and
we
will
be
discussing
about
running
local
kubernetes
cluster
using
some
of
the
tools.
So
a
little
about
me,
I
am
a
junior
pursuing
bachelor's
in
computer
engineering,
currently
working
as
an
intern
at
cloud
yoga
3
release.
I
am
a
doc
shadow
and
kubernetes
and
also
involved
as
a
sick,
docs
member
for
this
spring
cohort.
I
am
a
lfx
mentee
at
cncf,
kubernetes
majorly
working
on
sig
network.
Also,
you
could
connect
with
me
on
linkedin
and
twitter.
A
A
Then
we
will
move
on
to
some
of
the
tools
that
might
help
us
to
set
up
a
local
environment
and
finally,
we
will
see
what
are
the
major
differences
so
why
local
communities
cluster
are
useful.
It
creates
agile
and
safe
application
deployment
process.
Although
most
people
run
kubernetes
in
a
cloud
environment,
running
kubernetes
locally
has
its
own
benefits.
We
can
quickly
try
out
kubernetes
before
deciding
to
use
it
as
a
primary
platform
to
deploy
our
application.
Users
can
focus
on
experimentation
and
proof
of
concepts
in
a
very
low
risk.
A
A
So
we
have
some
tools
to
help
us
running
a
local
kubernetes
cluster.
Each
of
these
tools
simplify
setup
and
configuration
to
varying
degrees.
We
will
be
looking
about
mini
cube
kind
and
microgrids
in
a
while.
So,
let's
start
with
mini
cube,
the
kubernetes
sick
is
the
key
developer.
It
all
started
in
that
is
a
year
after
the
first
kubernetes
release.
A
A
It
follows
kubernetes
table
releases
mini
cube,
handles
some
of
the
features
like
load,
balancer,
node
port
ingress
and
also
supports
all
of
the
container
runtimes.
It
also
uses
multi-nodes
and
a
driver.
Apart
from
the
base,
configuration
and
minicube
also
provides
a
set
of
add-ons.
A
A
A
Now,
let's
move
on
with
the
next
tool
that
is
kind
kubernetes
and
docker.
This
tool
is
also
developed
by
kubernetes.
It
started
in
2019
kind,
is
a
tool
for
running
local
kubernetes
cluster
using
docker
container
nodes.
So
it's
being
said
that
it
works
anywhere
where
docker
works
kind
was
primarily
designed
for
testing
itself,
but
it
can
be
used
for
local
development,
quality
assurance
or
cr.
It
uses
container
nodes
with
systemd
or
cri
and
kubernetes
as
well.
It
supports
multi-node
cluster
on
the
same
machine
in
kind.
A
A
A
A
A
A
A
Like
now,
if
someone
wants
to
provide
some
custom
specifications
to
the
clusters,
then
we
might
need
to
work
with
the
config
files.
So,
let's
begin
with
the
basic
config
file,
the
left
has
been
configured
with
the
desired
config
file
such
as
config.yaml
and
many
others.
You
can
check
it
by
running
the
following
command.
A
A
A
A
A
Same
way
we
have
runtime
config,
which
is
one
of
the
advanced
functionality
like
it
is
a
set
of
key
value
pairs
that
enable
or
disable
built-in
kubernetes
apis.
We
can
write
a
group.
Slash
version
is
equal
to
true
or
false.
As
per
your
requirement
for
a
specific
api
group
and
version,
we
can
have
a
look
at
some
of
the
advanced
concepts
of
kubernetes
like
setting
up
engraves
or
creating
a
local
registry
through
kind.
A
A
Next,
we
need
to
deploy
an
ingress
controller.
There
are
many
implementations
of
ingress
controller,
like
ambassador
contour,
glue,
ingress
engine
x
and
many
more,
but
here
we
will
use
an
ingress
engine
x,
which
provides
a
deployment
which
we
can
leverage
through
greater
so
run.
The
calling
commands.
A
A
A
A
Now
we
may
have
a
look
on
local
registry.
Our
goal
is
to
keep
everything
locally,
including
our
local
docker
registry.
So
a
registry
is
a
storage
and
content
delivery
system
holding
named
docker
images
available
in
different
tagged
versions.
We
can
check
a
cell
script
file
in
the
terminal,
which
creates
a
kubernetes
cluster
with
local
docker
registry.
Enabled
the
above
cell
script
creates
a
docker
registry
called
the
kind
registry
which
runs
locally
on
the
port
5000.
A
A
The
last
step
is
to
connect
the
client's
network
with
the
local
docker
registries
network,
run
the
following
command
to
execute
the
process
of
cluster
creation
using
the
local
registry.
As
we
can
see,
our
local
registry
gets
created.
Also,
we
need
to
make
sure
that
the
docker
registry
is
running
by
executing
the
following
command.
A
A
A
A
It
is
better
tested
in
ubuntu
than
in
any
other
distributions.
Flannel
is
a
tool
which
gives
a
subnet
to
each
host,
for
use
with
container
runtimes
micro
creates
supports
the
functionality
of
multi-node
clusters
on
different
machines.
There
are
some
situations
where
you
may
need
additional
services.
A
A
A
A
Let's
have
a
quick
look
at
how
they
are
different
from
each
other,
so
many
cube
and
kind
can
manage
nodes,
while
micro
kits
don't
manage
many
manicure
uses,
virtualbox
docker,
podman,
ssh,
node
management
system.
According
to
the
operating
system,
kind
uses
docker
as
a
node
management
system,
mini
cube
and
micro
gates
have
the
functionality
of
add-ons
while
kind
don't
have
the
default.
Cni
in
mini
cube
is
bridge
in
kind.
It
is
kind
net
d
and
micro
creates
its
planet.
A
If
we
talk
about
multi-node
support,
then
all
three
supports
multi-node
management,
but
in
different
ways
like
in
mini
cube,
it
is
through
the
driver
in
kind
it
can
be
done
on
the
same
physical
machine
and
in
micro
k8.
It
may
be
same
or
different
container
run
time
in
mini
cube,
can
be
docker
container
d
or
creo
in
kind.
It
can
be
container
d
or
creo
and
in
micro
kits
it
should
be
continuity.