You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 20250401-kubecon-london/workshop/03-dynamic-providers/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Excited? Let's get down to it!
33
33
set -gx EXERCISE_DIR $WORKSHOP_ROOT/03-dynamic-providers
34
34
set -gx KUBECONFIGS_DIR $WORKSHOP_ROOT/kubeconfigs
35
35
set -gx KREW_ROOT $WORKSHOP_ROOT/bin/.krew
36
-
set -gx PATH $WORKSHOP_ROOT/bin/.krew/bin $WORKSHOP_ROOT/bin $PATH"
36
+
set -gx PATH $WORKSHOP_ROOT/bin/.krew/bin $WORKSHOP_ROOT/bin $PATH
37
37
```
38
38
39
39
Surprise! You've just been appointed as the owner of a company responsible for running PostgreSQL databases, **SQL<sup>3</sup> Co.**! What's worse, you haven't heard of kcp yet! What you did hear of though is that PostgreSQL servers need compute and storage. And that Kubernetes can do all of that. So, to get things going, let's start up a [kind](https://kind.sigs.k8s.io/)-backed Kubernetes cluster:
@@ -353,7 +353,7 @@ Finished? High-five! Check-in your completion with:
353
353
03-dynamic-providers/99-highfive.sh
354
354
```
355
355
356
-
If there were no errors, you may continue with the next exercise.
356
+
If there were no errors, you may continue with [the next exercise 🔥](/contrib/learning/20250401-kubecon-london/workshop/04-application-providers/)!
In our last exercise of this workshop we'll take a look at a kcp-native application, that uses [sigs.k8s.io/multicluster-runtime](https://github.com/kubernetes-sigs/multicluster-runtime) to run a kcp provider, and reconciles the deployment across workspaces.
7
+
In our last exercise of this workshop we'll take a look at a kcp-native application that uses [sigs.k8s.io/multicluster-runtime](https://github.com/kubernetes-sigs/multicluster-runtime) to run a kcp provider, and reconciles the deployment across workspaces.
8
8
9
9
## Going native
10
10
@@ -13,12 +13,12 @@ After the great kick-off with the PostgreSQL-as-a-Service business, the folks ba
13
13
To accomplish that, they say all they had to use was:
14
14
15
15
*[kubebuilder](https://github.com/kubernetes-sigs/kubebuilder) to scaffold the project and CRDs,
16
-
*[sigs.k8s.io/multicluster-runtime](https://github.com/kubernetes-sigs/multicluster-runtime) to provide multicluster manager, controller and reconciler functionalities,
17
-
*[github.com/kcp-dev/multicluster-provider/virtualworkspace]() to interact with kcp virtual workspaces,
18
-
*[github.com/kcp-dev/kcp/sdk]() to add in kcp schemas,
16
+
*[sigs.k8s.io/multicluster-runtime](https://sigs.k8s.io/multicluster-runtime) to provide multicluster manager, controller and reconciler functionalities,
17
+
*[github.com/kcp-dev/multicluster-provider](https://github.com/kcp-dev/multicluster-provider) to interact with kcp virtual workspaces,
18
+
*[github.com/kcp-dev/kcp/sdk](https://github.com/kcp-dev/kcp/tree/main/sdk) to add in kcp schemas,
19
19
* and lastly, [github.com/cloudnative-pg/cloudnative-pg](https://github.com/cloudnative-pg/cloudnative-pg) to be able to work with _postgresql.cnpg.io_ resources.
20
20
21
-
We won't go into any implementation details here, but you are very welcome to inspect and play around with the code yourself at <>. The kcp-aware bits are clearly marked to see what multicluster bits need to be added into the kubebuilder-generated base. As far as the complexity goes, we hope you will find it quite underwhelming :)
21
+
We won't go into any implementation details here, but you are very welcome to inspect and play around with the code yourself at <https://github.com/kcp-dev/contrib/tree/main/20250401-kubecon-london/workshop/kcp-multicluster-provider-example>. The kcp-aware bits are clearly marked to see what multicluster bits need to be added into the kubebuilder-generated base. As far as the complexity goes, we hope you will find it quite underwhelming :)
22
22
23
23
## There is an App in my WS! 🤌
24
24
@@ -89,7 +89,7 @@ It references the database we've created earlier, and the Secret with credential
89
89
```shell title="Starting the mcp-app"
90
90
kubectl ws use :root:providers:application
91
91
mcp-example-crd --server=$(kubectl get apiexport apis.contrib.kcp.io -o jsonpath="{.status.virtualWorkspaces[0].url}") \
0 commit comments