►
From YouTube: Weaveworks GitOps-Core and Gloo Edge
Description
For more great content, visit https://solocon.io
SoloCon 2022: Weaveworks GitOps-Core and Gloo Edge.
Speakers: Steve Waterworth, Technical Marketing Engineer at Weaveworks; Daniel Wessels, Field Engineer-APAC at Solo.io
Session Abstract: The faster an organization can deliver new features and fixes, the better. GitOps enables the speed, and when used with progressive delivery, it provides the safety net. This session will showcase progressive delivery for Kubernetes using technologies such as Weave GitOps alongside Solo.io's Gloo Edge. Learn how to create best-in-class GitOps workflows while ensuring High Availability and Disaster Recovery.
Track: Gloo Edge and API Gateway
A
Hello,
I'm
steve
wortworth
technical
marketing
manager
at
weaveworks
in
this
session,
we're
going
to
show
you
how
to
use
githubs
to
deploy
and
manage
service
meshes
weaveworks
coined
the
term
gitops
in
2017
we
have
customers
across
many
industry
verticals
and
our
key
partners
with
major
cloud
providers.
We
contribute
to
and
maintain
a
number
of
open
source
projects.
A
A
Before
we
go
into
the
details,
it's
worth
explaining
the
ideas
behind
gitops,
the
cncf
working
group
opengitops
defines
the
four
principles
of
gitops
as
declarative.
We're
talking
about
service
meshes
on
top
of
kubernetes.
Everything
is
declared
in
yaml
files,
versioned
and
immutable.
This
is
where
git
comes
in.
It
maintains
an
immutable
version.
History
of
every
commit
pulled
automatically
and
continuously
reconciled.
A
Weave
gitops
continually
reconciles
the
desired
state
stored
in
git,
with
the
actual
state
running
in
kubernetes,
when
a
change
is
merged
into
the
monitored
branch.
Those
changes
are
immediate,
applied
to
kubernetes.
Conversely,
any
change
manually
applied
to
kubernetes
are
automatically
reverted
back
to
the
single
source
of
truth.
In
git
configuration
drift
is
eliminated.
A
A
This
minimizes
the
administration
overhead
of
roles
based
access
control
inside
kubernetes
and
the
distribution
of
kubernetes
and
cloud
platform
keys,
thus
enhancing
security
with
a
constant
reconciliation
of
configuration.
Git
is
the
single
source
of
truth.
Your
cluster
configuration
will
be
what
is
in
git
configuration
drift
is
impossible.
A
A
If
a
change
proves
to
be
sub-optimal,
it's
easy
to
roll
back
to
a
previously
known
good
configuration
significantly
speeding
up
time
to
recovery.
This
diagram
shows
a
typical
workflow
for
a
git
ops
deployment.
A
devops
engineer
uses
their
normal
workflow
to
create
a
pull
request
against
the
management
repository.
A
B
Thank
you,
steve.
Let's
move
on
to
the
demo
part
of
this
talk,
we'll
be
demoing
blue
edge
and
we've
worked
speedops.
B
B
We
can
find
these
commands
in
the
we've
worked
getting
started
page
as
well,
so
we'll
kick
all
of
these
off
and
then
we'll
have
a
look
at
what's
happening
as
well.
B
So,
let's
have
a
look
at
the
repositories.
As
I
mentioned,
we've
got
the
two
repositories
we
have
essentially
the
blue
edge.
We've
worked
repository
where
we
have
our
infrastructure
shared
services
and
that
is
blue
edge
itself
and
key
cloak
we'll
be
using
today
and
on
the
application
side
we'll
be
using
the
pit
clinic
application
to
install.
So
that's
what
that
directory
is
for.
B
Okay,
so
we
can
actually
see
that
the
bootstrap
process
has
completed
and
it's
completed
with
pull
requests
that
have
been
created
automatically
to
the
config
github
config
and,
of
course
this
is
important
in
terms
of
get
ups
as
well.
We
automation
is
great,
but
in
most
cases
we
do
want
some
controls
and
with
git
ups
we
can
use
to
get
up
to
get
pull
requests
to
insert
those
controls
as
need
be.
B
So
let's
go
back
here,
have
a
look
at
the
pull
request
sitting
there
waiting
for
us,
so
if
your
demo
fashion
I'll
just
approve
that
since
we
know
already
what
is
required.
So
this
is
what
has
been
created
by
that
git
ops,
github
bootstrap
process.
B
B
So
on
the
system
side,
everything
is
up
and
running
under
the
hood.
We've
worked,
skidops
utilized
as
flux
and
and
we'll
take
a
bit
of
a
look
at
that
as
well.
In
a
minute.
B
So
that's
it
pretty
straightforward
to
get
up
and
running
with
the
we
would
get
ops,
bootstrap
process,
we've
completed
the
pull
request,
and
now
we
can
use
the
we
would
get
ops
ui,
and
I
just
run
that
in
a
separate
terminal,
because
it's
using
port
40,
okay
good.
So
now
we
can
start
adding
our
applications
via
this
ui
and
again,
it's
very
straightforward.
First
thing
we
want
to
do
is
install
our
shared
services.
So
let's
call
it
that
actually
internet
services-
and
this
is
going
to
include
our.
B
B
B
B
Excellent
and
again
just
to
demonstrate
git
ops
process
and
controls.
We
have
a
pull
request
that
needs
to
be
reviewed,
peer-reviewed
reviewed
by
whoever
maybe
manages
to
make
sure
that
no
unauthorized
changes
are
happening.
B
B
You
can
see
that
customization
has
again
been
created
out
of
that
form.
We've
completed,
and
here
you
can
see
the
the
yaml
manifestation
of
that
ui
form
that
we
completed
with
the
repositories
that's
required,
so
we
could
opt
to
have
updated
its
own
configuration
and
created
the
necessary
manifests
to
allow
it
to
pull
in
these
services.
B
B
So
we
now
see
that
the
shared
services
is
an
application
in
there
and
we've
got
great
visualization
of
what
we
have
done
in
our
get-offs
repositories.
B
So
this
sort
of
visualization,
of
course
helps
us
humans,
because
it's
not
necessarily
easy
to
see
these
dependencies
and
resources
that
we're
operating
just
by
looking
at
gibbs
the
kit
repositories.
B
So
that's
a
really
great
feature
of
the
new
works.
Git
ops
tool,
this
ui
that
shows
you
the
dependencies
out
of
the
box.
B
B
Another
way
to
look
at
the
sort
of
progress
is
to
use
our
kubernetes
commands,
so
I've
got
the
alias
set
up
for
to
cuddle
get
so
we
firstly
getting
the
customizations
and
we
have
a
look
at
what
has
been
picked
up
and
we
can
see
everything
is
happy
there.
It's
picked
up
the
shared
services
customization
part
of
installing
these
shared
services.
B
We
are
pulling
in
applications
from
helm
repositories
that
is
automatically
being
created
as
well
and
that's
up
and
running,
and
then,
of
course,
once
you
have
the
helm,
repository,
there's
a
helm
release
so
and
then
we
can
see
that
is
busy
with
its
installation.
B
We
have
just
used
git
repository
and
the
manifests
in
get
to
effect
those
installations,
and
that's
that's
another
way
to
to
look
at
at
githubs,
while
kubernetes
have
abstracted
away
ssh-ing
into
machines
for
installs
and
configurations
and
getting
up
applications
up
and
running.
B
Git
ops
is
about
abstracting,
cube,
ctl
away
from
us
and
removing
as
much
as
possible
humans
from
touching
our
operational
environments
is,
is
always
a
good
practice
so
that
there's
no
human
error.
B
So
that's
a
that's
a
key
thing
to
see
throughout
and
we'll
see
that
throughout
this
demonstration
we
are
just
doing
get
commits
to
effect
changes.
We
don't
interact
with
the
kubernetes
api
at
all.
B
Okay.
So
let's
look
at
that
now
that
we
have
everything
installed,
we
can
do
the
configuration
so
key
cloak.
We
need
to
install
and
configure
a
couple
of
users
just
so
that
we
can
use
it.
Of
course
we
need
a
few
users
to
authenticate
with,
so
we
run
a
few
configuration
scripts
from
that.
We
need
those
outputs
a
little
bit
later
I'll,
just
save
them
there.
B
Okay,
great
so
key
cloak
is
up
and
running
now,
let's
install
the
application,
so
we
go
back
to
our
we
get
ups
and
we
add
another
application
in
this
case.
Let's
call
it
apps,
so
our
applications
are
living
in
the
same
repository
under
the
apps
folder
here
so
for
our
repository
source.
B
B
And
there
we
go
so
we
now
look
here:
we've
got
the
shared
services
and
we've
got
the
new
application
and
again
it's
taken
our
form
and
transformed
it
into
the
necessary
yaml,
so
that
the
controllers
in
the
cluster
can
start
acting
on
what
is
required
to
be
configured.
B
So
let's
take
a
quick
look
at
that.
Pic
clinic
is
not
very
robust
applications
and,
in
this
case,
we're
just
using
straightforward
kubernetes
yaml
by
customization.
So
in
this
case
we're
not
using
helm.
There's
no,
you
don't
have
to
use
helm,
but
if
your
educational
package
has
a
helm,
you
may
want
to
use
that,
but
you
can
just
use
straightforward
cumin
in
etamo.
You
can
take
this
file
and
use
cube.
Ctrl
apply,
dash,
f
and
point
it
to
this
file.
So
that's
essentially
how
pet
clinic
works.
B
B
Okay,
so
now
we
have
everything
in
place:
the
application
is
sitting
there
and
I'll
use
another
repository
from
our
solar
blogs,
and
if
you
want
to
go
to
seller,
I
o
blogs
and
search
on
git
ops.
You
will
find
many
resources
in
there
and
for
the
rest
of
the
demo.
We
can
just
utilize
this
repository,
and
the
first
thing
we
want
to
do
is
see
that
the
application
is
up
and
running.
A
B
B
B
So
let's
have
a
look
at
that
for
that
we
will
need
to
edit
the
applications
authentication
policy
again,
that's
a
blue
edge
custom
resource,
we'll
activate
that
policy
by
the
customization
file
and
then
we'll
go
back
to
the
virtual
service
again
and
add
the
authentication
section
for
the
virtual
service,
which
is
essentially
where
the
proxy
is
listening
for
the
application.
B
B
Yeah
excellent,
so
thank
you
very
much
for
looking
at
this
demo
back
to
you,
steve.