►
From YouTube: VMware Cloud PKS Integration with Prometheus Demo
Description
In this demo, learn how you can start to monitor your Kubernetes clusters and microservices using Prometheus.
To learn more, visit https://cloud.vmware.com/vmware-cloud-pks
A
A
For
this
demo,
I
have
pre
deployed
a
cluster
called
web
services,
and
this
is
a
very
small
development
cluster
with
web
master
node
and
the
world
worker
node
and
I'm
going
to
use
this
cluster
to
deploy
Prometheus.
Now
there
are
a
few
different
ways
to
deploy:
Prometheus
and
I'm,
going
to
leverage
the
Prometheus
operator
to
perform
the
initial
install
and
our
leverage
the
custom
resource
definition
as
part
of
the
Prometheus
operator
to
deploy
the
full
prometheus
stack,
which
includes
the
alert
manager
Ravana
for
dashboarding
metric
exporter
and
a
few
other
permits
for
missing
its
components.
A
Now,
let's
get
started,
let's
login
to
the
cluster
and
let's
take
a
look
at
the
cluster
size,
and
this
is
the
definition
of
the
develop
on
cluster
well
master,
node
and
worker.
No,
so
this
matches
our
expectations.
Now,
let's
sum.
The
first
thing
we
do
is,
let's
create
the
add,
a
repo
for
the
coalesce,
and
this
is
where
our
Prometheus
operator
will
be
installed
from
so
the
once.
A
The
repo
is
added,
let's
create
a
namespace
called
monitoring
and
we
are
going
to
create
the
operator
in
the
monetary
namespace
once
the
namespace
is
created,
let's
create
the
operator.
Let's
take
a
look
yep,
it
is
running
so
the
now
the
operator
is
deployed,
we're
going
to
go
ahead
and
leverage
the
custom
resource
definition
of
the
operator
to
deploy
the
rest
of
the
prometheus
stack,
which
includes
the
the
other
manager
Bhuvana,
the
external
exporter
and
the
cube
metrics.
A
Now,
I'm
going
to
show
you
how
you
can
access
the
Prometheus
services
now
I'm
going
to
show
you
in
two
different
ways.
The
first
way
is
more
for
your
own
handy,
lab
use,
and
the
second
way
is
more
like.
If
it
deployed
in
production,
you
have
other
people
and
they
need
to
access
that
as
well
as
well
right.
A
So
the
first
way
is
through
a
port
forwarding,
Mac
room
using
the
community
CTL
command,
and
the
second
way
is
deploying
a
load
balancer
in
front
of
all
the
the
Prometheus
pods
and
then
expose
a
IP
address,
let's
routable
externally
and
then
having
the
load
balancer,
redirect
the
traffic
to
the
various
internal
heipiess.
So,
let's,
let's
first
take
a
look
at
the
the
for
status.
Everything
is
running
fine.
Now,
let's
redirect
the
traffic
layer
manager.
So
this
is
the
port
forward
command.
A
We
have
it,
we
have
all
the
different
type
of
alerts.
That's
been
registered
and
let's
look
at
how
we
can
deploy
a
load
balancer
to
create
a
load.
Balancer
I
created
this
mo
file,
and
this
is
for
demonstration
purposes
only
and
it
basically
is.
You
have
a
selector
that
points
to
the
karana
pod
on
the
label
that
matches
the
vampire
and
they
have
your
porch
and
then
the
type
is
load.
A
Balancer
use
a
cube
kettle
command
against
this
level,
so
it
will
take
few
minutes
to
create
now,
let's
check
on
the
status
of
the
load
balancer,
to
see
if
it's
created
already-
and
here
is
the
IP
address
a
little
balancer
and
I'm
gonna
copy
and
paste
this
address
into
the
browser,
just
like
what
I
have
done
in
the
past,
with
port
forwarding
and
specify
for
3000
after
the
Europe.
There
are
some
first
that
we
can
take
a
look
at,
for
example,
the
cluster
status,
the
deployment
in
this
cluster.
This
is
our
namespace.