►
Description
This is the weekly update for the Server Runtime SEG for the week of the 29th of Nov.
This week I've changed technical direction and I'm trying to align my work with the work being done by the Remote Development team. This includes:
1. Making Server Runtime a part of GA4K
Added provisioning of a basic IDE using Rails, KAS and Agentk
2. HTTPS and Secret support
Added ability to support HTTPS on the IDEs by injecting TLS support
Chapters
0:00 Overview
1:00 Integration Flow
2:53 Demo
3:50 Whats next
A
So
this
week
there's
been
a
change
in
technical
Direction,
so
I'm
trying
to
align
myself
the
work.
That's
going
on
in
the
remote
development
team,
so
they've
essentially
created
an
architectural
blueprint
which
uses
gitlab
agent
for
kubernetes.
So
the
work
I've
been
trying
to
do
this
week
is
set
out
to
figure
out
whether
I
can
incorporate
server
runtime
as
a
part
of
gitlab
agent
for
kubernetes.
A
Now,
there's
a
drastic
difference
in
architecture
between
the
original
server,
runtime
and
gitlab
agent
of
kubernetes,
and
therefore
I've
been
trying
to
play
with
the
whole
architecture
to
make
it
in
to
incorporate
our
runtime
into
it
and,
as
a
result,
I
managed
to
add
some
basic
provisioning
of
an
IDE
using
rails
gas
and
Agent
K.
The
other
thing
I've
done
is
added
the
ability
to
inject
secrets
and
specifically
DLS
secrets,
so
that
we
can
access
the
ID
over
https.
A
So
I'm
going
to
very
quickly
walk
you
through
the
flow
of
what's
going
on
so
the
first
thing:
Agent
K
is
the
component
of
of
gitlab
agent,
that's
installed
on
the
customer's
premises
and
it
communicates
with
gas,
which
is
essentially
runs
close
to
rails
and
has
communication
with
rails.
So
essentially
the
the
workflow
works
as
such,
so
Agent
K
communicates
with
gas
to
get
the
configuration
and
and
cash
essentially
gets
the
agent
configuration
from
gitly.
Now,
once
that's
done,
the
part
we've
written
what
it
does
is.
A
A
What
I've
also
worked
on
is
enabling
rails
to
be
able
to
talk
to
gas,
to
request
for
a
new
workspace,
so
you
can
request
for
a
new
workspace
on
your
project
and
then
once
you
do
that
we
fetch
things
like
the
repository
details
and
fetch
the
dev
file
from
the
from
the
project
from
gitly
and
then
once
you
have
the
dev
file,
we
can
actually
parse
the
dev
file,
generate
the
corresponding
kubernetes
manifest
and
then
using
server
push.
We
push
that
to
Agent
K,
so
Agent
K
sitting
now
in
the
customer
premises.
A
You
can
then
go
ahead
and
start
provisioning.
Those
kubernetes
manifests
or
or
resources
that
need
to
be
provisioned
for
the
IDE.
So
the
first
thing
we
do
is
create
a
namespace,
also
create
DLS
secrets
and
then
finally,
once
that's
done,
we
apply
all
the
configuration
changes
and
that
actually
leads
to
the
ID
being
created.
Now
this,
the
advantage
of
this
architecture
is
the
fact
that
now
server
runtime
can
be
in
all
places
where
cash
and
agent
care
already
installed.
A
So
if
you,
you
know,
if
we
work
with
the
customer
who
has
agent
key
installed,
we
upgrade
their
instance
of
agent
care
now,
because
this
is
just
another
module
of
cache.
We
can
then
use
server,
runtime,
so
I'll,
quickly,
demo,
this
so
I'm
in
rails,
so
rails
and
I
enable
the
cast
client
I
then
make
a
request
to
provision
an
IDE
passing
in
the
project,
the
branch
and
then
the
event
which
is
provision.
A
So
if
I
go
ahead
and
do
that,
that
then
starts
with
the
provisioning
process.
Now,
if
I
go
into
kubernetes
and
say
you
can
name
spaces,
you
can
say
that
this
namespace
has
been
created
and
then
a
number
of
resources
in
that
name.
So
we
created,
including
like
service
and
Ingress
and
and
deployment,
and
things
like
that-
and
you
can
see
it's
up
and
running
already
so
I
can
actually
go
ahead
and
I
can
go
back
to
my
browser
window
and
quickly.
A
Look
at
this
and
because
I
have
enabled
https
support
and
injecting
TLS
secret
I
can
go
ahead
and
do
this
from
my
browser,
so
I
can
say
https
my
workspace
name
workspace.localdef.net
and
then
that
would
then
show
my
IDE
up.
So
these
are
so
this
week
we
really
spent
a
lot
of
time
doing
some
foundational
changes,
I'm,
hoping
that
I'm
able
to
incorporate
other
things,
such
as
authentication
and
communication
from
rails
into
the
into
the
summer
runtime
and
the
IDE
and
gitlab
agent
for
next
week.
Thank
you.