WEBVTT

1
00:00:03.405 --> 00:00:12.325
This is Harbour Bikes, a real bike rental site. This time it runs on a small Kubernetes cluster of its own, k3s, on one rented machine.

2
00:00:12.475 --> 00:00:22.067
Its bookings and bikes live in Postgres, inside that cluster, with their own storage. We will move all of it without taking the site down.

3
00:00:22.570 --> 00:00:28.679
In my-app.engineer, open your workspace and go to Setup. Choose Move something you run.

4
00:00:29.079 --> 00:00:33.861
Pick the card for your own k3s or k8s cluster.

5
00:00:34.261 --> 00:00:40.595
It gives you the same one command. You run it where kubectl works.

6
00:00:40.995 --> 00:00:58.568
Here it runs on the cluster's machine. It finds the cluster and gives the Observer a view that can only look. It has no AI and changes nothing.

7
00:00:58.968 --> 00:01:02.208
When it is done, it prints a private link to open.

8
00:01:02.580 --> 00:01:11.580
Open that link, and your cluster draws itself in 3D. Each shape is something that runs there: the web app, the database and their storage.

9
00:01:11.730 --> 00:01:33.844
This panel says what the Observer may do. It only reads, it has no AI, and your data stays on the machine.

10
00:01:34.244 --> 00:01:43.768
Back in the platform, make a pairing code. It works once, for fifteen minutes.

11
00:01:44.168 --> 00:01:58.847
Type the code into the Observer. Pairing sends a list of your apps, never passwords or data.

12
00:01:59.247 --> 00:02:22.447
One more click lets this machine carry out the steps you approve. A restart makes it read only again.

13
00:02:22.847 --> 00:02:29.394
The platform now sees your cluster, and everything it found there.

14
00:02:29.910 --> 00:02:34.584
Open the migration plan.

15
00:02:34.984 --> 00:02:42.537
It shows what moves: the web app, its database and its uploaded files, kept together as one group.

16
00:02:42.937 --> 00:02:48.935
And what stays behind, with the reason for each.

17
00:02:49.335 --> 00:02:52.255
Choose where it goes: your private workspace.

18
00:02:52.405 --> 00:03:00.834
Type the address the shop keeps. Visitors use this one address the whole time.

19
00:03:01.234 --> 00:03:07.436
Approve the plan, and the move starts.

20
00:03:07.937 --> 00:03:12.055
Now it works through the steps on its own. We cut out the waiting.

21
00:03:12.455 --> 00:03:17.365
First the database is copied and loaded into your workspace.

22
00:03:17.765 --> 00:03:22.248
Then the uploaded files.

23
00:03:22.648 --> 00:03:28.173
The app starts in your workspace. It is sealed, so it cannot reach the outside world yet.

24
00:03:28.573 --> 00:03:33.507
Then it tests the copy itself. It answers, and it holds the data.

25
00:03:33.907 --> 00:03:42.187
Now the cutover, in four careful steps. First your address goes through the platform, which hands every visit straight back to your cluster.

26
00:03:42.337 --> 00:03:50.137
Then shadow. Real visits are replayed on the copy and its answers are thrown away. Visitors are still served by your cluster.

27
00:03:50.287 --> 00:03:59.127
Then canary. A small share of real visitors is served by the copy, then more, and every step is watched. Any trouble rolls it back on its own.

28
00:03:59.277 --> 00:04:04.583
Then the flip. Your workspace now serves the shop.

29
00:04:04.983 --> 00:04:10.623
Scaling down the original is the one step that waits for you. Nothing that big happens on its own.

30
00:04:11.068 --> 00:04:18.256
Open the site. At the bottom you can see it is served from your workspace now.

31
00:04:18.656 --> 00:04:23.177
The same fifty two bookings came along.

32
00:04:23.577 --> 00:04:30.226
Book a bike, and the new booking is saved in its new home.

33
00:04:30.626 --> 00:04:37.181
And your own cluster still runs, untouched. It is your way back until you retire it.
