►
From YouTube: How to deploy your .NET Core Apps In Azure Kubernetes
Description
The talk will be based on deploying a .NET Core App in Azure Kubernetes. The demo will illustrate how to do the following:
1) Creating a simple .NET Core App
2) Creating a Docker Image
3) Creating an Azure Container Registry
4) Pushing the Docker Image To ACR
5) Creating a Kubernetes Cluster and
6) Deploying your Application.
Busayo Amowe is a .NET core developer by day and a HashiCorp Ambassador.
A
A
A
So
there's
this
thing
that
that
network
has
it's
called
kesho,
it's
a
managed
cross-platform
web
server
and
you
typically
run
behind
a
production
web
server
like
is
engines,
so
there
are
various
ways
and
different
ways
to
publish
and
deploy
your
network
app.
So
at
least
there's
some
of
them
here
you
can
publish
your
app
to
iis.
A
So,
what's
a
kubernetes
service,
it's
a
logical
abstraction
for
a
different
group
of
ports
in
the
cluster
that
typically
like
perform
the
same
function.
A
So
there's
aks,
which
is
azure
kubernetes
service
and
what
it
helps
you
do
is
it
helps
it
helps
simplify
your
deployment
process,
so
your
workload
or
your
personal
overhead
is
handed
over
to
azure,
and
so
what
azure
does?
Is
it
handles
like
critical
tasks
for
you,
attacks
such
as
health
monitoring
maintenance,
the
part
is
being
restored
if
there's
a
failure.
So
your
when
you
deploy
your
cluster
things
like
your
nodes
and
your
humanity,
master
they're,
all
deployed
and
they're
configured
for
you,
so
yeah.
A
I
mentioned
earlier
that
one
way
to
publish
or
deploy
your
app
is
by
using
a
container
registry.
So
we
have
what
is
called
azure
container
registry.
It's
a
private
docker
registry
in
azure,
and
you
can
use
it
to
store
and
manage
your
docker
container
images.
Also,
you
should
store
related,
artifacts
and
one
way
to
use
azure
registry
or
a
way
to
use.
Azure
container
registry
is
by
pushing
your
image
to
the
registry
using
docker
commands.
So
we
have
the
commands.
I
can
use
to
show
image
should
be
registered.
A
You
can
pull
from
a
registry,
you
can
run
an
email
from
your
registry,
it
can
also
deploy
to
your
humanity
poster.
So
here
is
the
workflow,
and
this
is
how
typically
like
deploy
your
app.
I
move
from
just
a
basic
number
up
here
and
I
mean
it's:
you
can
run
it
from
your
azure
keyboard,
so
we
have
our
web
app
here
which
speaks
to
our
api
application.
A
It's
like
a
regular
front-end
speaks
on
api
comes
with
like
a
web
application,
just
picks
an
external
api,
and
then
the
api
speaks
to
a
database
application
which
in
turn,
I
mean
communicates
with
azure
sql
database.
A
So
what
happens
is
as
you
can
see,
these
two
applications
are
moved
to
the
azure
container
registry,
but
before
they
are
moved
to
the
other
container,
you
see
what
happens
is
they
have
to
be
a
docker
image,
so
you
just
typically
have
to
containerize
these
applications
and
then,
when
they
are
containerized,
you
move
it
to
or
you
push
it
to
your
azure
container
registry
and
then,
when
your
image
is
confirmed
to
be
your
azure
container
registry,
you
deploy
to
the
kubernetes
cluster
and
you
can
run
your
app
from
azure
kubernetes,
so
yeah
these
steps
just
basically
exponentiate
the
diagram
dimension
that
I
showed
earlier.
A
So
let
me
create
your
app
create
a
docker
image
from
your
app
containerize,
your
image
quality
app
rather
than
there
you
create
an
azure
container
registry.
You
push
your
image
to
the
azure
container
registry,
you
create
a
community
cluster
and
you
also
create
your
manifest
files
and
you
deploy
and
run
your
app.
So
I'm
just
going
to
go
right
into
looking
at
the
requirements.
A
A
Then
I
just
cli
have
been
installed
on
your
pc,
so
you
can
use
azure
seller
from
a
temmie
now
or
you
can
use
this
cli
on
hotado
azure,
so
either
ways
then
I'm
gonna
using
them
cube
ctl
for
to
run
my
kubernetes
commands.
A
So
yeah
we'll
go
to
the
demo
now,
okay,
so
I'm
going
to
be
creating
my
app
right
now
so
my
business.
I
want
to
create
an.
A
A
I
did
you
were
supposed
to
let
justice
hit
your
keyboard.
Let's
just
go
ahead.
Okay,
so
I'm
going
to
navigate
to
the
app
folder
now.
A
Then
I'm
going
to
restart.
A
A
So
what
we
are
going
to
do
next
is
we're
going
to
containerize
our
app.
That's
make
it
up
into
a
docker
image.
So
let's
go
back
to
terminal
and
then
all
just
have
to
do
is.
A
Me,
okay,
so
next
stop
we're
gonna.
A
A
Okay,
so
we
can
see
that
our
offer
has
been
created.
A
So
let's
just
go
ahead
so
because
I've
done
this
before
I'll
just
go
ahead
to
copy
what
I
have.
A
A
Have
before
so
just
make
some
adjustments
and
then
people
do
that.
Our
dear
ladies
from
the
africa.
A
A
So
typically,
so
what
this
does
is
that
we
are
selecting
5.00
of
asp.net
and
then
we
are
copying
our
published
app
into
this
folder.
This
is
working
directory
app.
Then
we
are
telling
that
you
should
use
up
as
the
working
directory
and
then
the
entry
point
is
um.net.
A
So
yeah,
so
what
I
want
to
do
next
is
now
I'm
going
to
build
our.
A
A
Created,
let's
then
go
ahead
and
use
our
image
speed
right
now
and
yep.
Our
image
is
done
so,
as
you
can
see,
a
command
from
asp.net
user
execute
the
copying
from
here
to
here,
selecting
up
other
working
directory
and
then
here
our
image
has
been
so.
As
you
can
see,
we
have
an
image
here
that
contains
our
app,
so
you
can
check
the
list
of
images
that
you
had
before.
A
A
A
A
A
Server
for
our
container
instance,
so
let's
just
try
to
get
the
server
for
that
to
our
status,
registration.
A
A
A
A
A
A
A
A
A
A
A
I
have
actually
created
one
before.
A
A
Choose
my
research
and
then
call
my
cluster.
A
A
Check
out
our
container
registry.
A
A
Stuff,
so
let's
just
go
ahead
and
download
our
cluster
configuration.
A
A
A
So
next
is
we
verify
our
cube
ctrl
context,
so
you
do
that
by
running
keep
ctrl.
A
A
A
A
Kubernetes
finance
manifesto,
so
let's
just
go
ahead
to
create.
A
So
all
you
do
is:
do
let's
create
a
board.
A
A
A
This
port,
so
let's
go
back
to
our
port,
so
I
can
sort
of
like
explain
what's
going
on
here,
so
you
can
see
we
have
labels
here.
So
what
labels
does
is
they're,
basically
like
key
value
pairs
that
attach
to
kubernetes
objects,
so
they
are
basically
like
used
to
identify
the
attributes
of
the
object,
and
I
mean
this
is
for
organizing
subsets
of
objects.
A
A
A
Referencing
is
referencing
our
point,
so
you
see
the
container
process
on
80
and
then
this
is
the
target
for
80,
but
then,
like
our
f
on
expose
on
5003
and
then
we're
also
specifying
a
load
balancer
here.
A
A
For
this
is
applying
report
sources,
it's
been
created
and
then
go
ahead
to
apply
our
service.