►
From YouTube: Distribution Team Demo - Nov 26, 2020
Description
The Distribution Team demos how to run a hybrid gitlab/pages deploy. With the pages server running on a omnibus VM, and all other gitlab services running in a k8s cluster.
A
Okay,
welcome
everyone
to
this
distribution
theme
demo,
so
I
am
going
to
try
and
implement
gitlab
pages
with
the
kubernetes
cluster,
using
the
hybrid
method.
So
in
in
this
scenario,
the
pages
will
result
in
a
virtual
machine
outside
of
the
cluster.
All
other
components
will
be
indicated
with
this
cluster.
A
So
what
I
have
with
me
is
a
cluster
running
the
latest
latest
master
of
the
darts
report.
With
this
configuration
I
had
I
haven't
enabled
pages
yet
I
just
have
specified
a
host
name
and
an
api.
I
have
trimmed
down
the
other
components
so
that
only
one
of
them
on
one
replica
of
each
service
is
running.
A
A
I
haven't
configured
it
or
anything
I
haven't
run
reconfiguring
yet
so,
essentially,
the
plan
is
we'll
be
using
an
experimental
feature
of
that
that's
available
at
under
a
feature
flag
in
gitlab
rails.
This
will
be
using
artifacts
of
the
pages
deployment
ca
job.
It
will
be
available
at
an
object,
storage
bucket
and
we
will
be
asking
it
libraries
to
serve
gitlab
pages
contents.
The
page
content
from
this
artifacts
save,
like
they
say,
file
which
is
available
at
the
update
storage
bucket.
A
So
to
start
with,
let's,
let's
enable
or
let's
tell
gitlab
rails,
that
we
are
enabling
pages.
A
A
I
have
it
custom
domain
configured
to
point
at
that
virtual
machine
that
has
some
neighbors
gitlab
installed
it's
running
over
for
480
and
there's
a
power
setting
which
is
kinda
unnecessary
because
we
are
not
using
any
shared
discord,
shared
nfs
mouse,
but
as
of
now
gitlab
pages,
expect
a
value
for
this
setting
it
it's
not
being
used,
but
we
need
to
have
a
valid
directory
from
address
this
value
and
they
have
enabled
the
artifact
server,
which
lets
us
view
the
artifacts
online
in
line
with
bitmap
pages,
and
we
we
are
using
it
object,
storage.
A
So
technically
we!
If
someone
needs
implementing
this
and
they
want
pages
with
equivalencies.
We
expect
it
to
be
a
production
grade
environment
and
we
recommend
not
to
use
our
built-in
video,
but
for
the
demo
purpose.
I
am
using
the
mineo
connection
settings,
but
there
is
one
catch,
so
I
have
to
show
that,
let's,
let's
see
they
get
labia
xtml
configuration.
A
A
But
for
this
scenario
we
need
it
to
be
available
from
the
pages,
the
permission,
because
it's
asking
the
object
service
to
get
the
artifact
zip
file.
So
we
kind
of
need
to
provide
a
custom
secret
to
pages
configuration
mimicking
all
of
this,
but
replacing
this
endpoint
with
the
public,
one
that
is
million
dot.
This
domain
name.
A
A
Now,
let's
so
we
are,
we
are
first
deploying
to
the
turbulent
disk
cluster
because
there
needs
to
be
a
shared
secret
between
pages
and
rails.
This
is
what
pages
used
to
use
as
a
token
for
invoking
the
internal
api.
So
we
are
asking
the
kubernetes
cluster
to
create
that
secret
and
we
will
be
injecting
that
secret
to
the
omnibus
gitlab
vm.
So,
let's
try
and
deploy
this
pages
there's
a
host.
A
So
if,
if
you
are
using
a
production
level
instance-
and
you
are
bringing
your
own
of
the
storage,
you
would
have
already
created
a
secret
with
your
objective
connection
details
you,
you
can
just
reuse
that
setting
for
pages
object
store
connection
secret
setting
in
the
values
file.
A
This
is
because
we
are
using
the
internal
menu.
I
had
to
copy
and
recreate
the
connection
settings.
A
A
A
I
did
have
some
sort
of
getting
a
pages
run
inside
the
cluster
after
some
hard
after
hard
coding,
some
of
the
settings
and
enabling
a
bunch
of
feature
flags
but
yeah,
it
seems
to
be
working
so
yeah
fingers
closed.
A
A
A
A
A
A
A
A
A
Okay,
so
we
are
using
a
pages
role,
so
all
of
the
services
should
be
shut
down
automatically.
We
have
an
external
url
for
exchanges.
We
are
specifically
web
server.
We
we
are
making
the
pages
ask
gitlab
for
the
domain
configuration,
so
the
domain
config
source
just
gets
lapped
as
opposed
to
disk,
which
is
the
default
value,
and
we
are
specifying
the
api
secret
key
that
we
have
created
an
equivalent
site.
A
A
A
So,
okay,
is
that
being
done
so
we
have
now
the
omnibus
gitlab
and
the
cluster
all
configured.
One
thing
we
need
to
do
is
the
is
to
enable
some
experimental
feature,
flags
that
makes
pages
asks
of
the
rails
for
the
files
and
they
will
trace
to
serve
them
from
the
artifacts.
They
see
a
job
artifacts,
so
we
need
to
be
on
the
task.
Runner.
A
Port,
so
these
are
the
two
features.
One
is
ship
pages
deployments
and
under
pages
serve
from
deployments.
This
first
one
will
make
gitlab
automatically
copy
the
artifact
ship
to
gitlab
pages
specific
directory.
The
second
one
makes
it
serve
pages
from
this
zip
file,
so
we
can
enable
those
two
feature
flags.
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
Hey,
we
have
an
output
so
yeah.
Essentially
this
is
it
you.
You
need
a
publicly
accessible
object
service
service.
You
need
to
enable
few
feature
flags,
and
essentially
you
can
get
github
pages
working
in
a
separate
vm,
but
with
a
turbulence
cluster.
A
A
Does
anyone
have
any
questions
or
any
anything
else?
They
would
like
me
to
japan.
A
Okay,
in
that
case,
I
think
we
can
wind
up
the
meeting
thanks
everyone
for
coming
and
see
you.