11# VirtualResources Example
22
3- This example shows usage of VirtualResources , together with CachedResources.
4- The goal of VirtualResources is to distribute static, read-only resources to multiple clusters
3+ This example shows usage of virtual resources , together with CachedResources.
4+ The goal of CachedResources is to distribute static, read-only resources to multiple clusters
55in a scalable way.
66
77## Setup
@@ -19,15 +19,16 @@ in a scalable way.
1919 kubectl ws create provider --enter
2020
2121 kubectl create -f config/examples/virtualresources/crd-instances.yaml
22- # this this to work we always require apiresource schema to be present
22+ # for this to work we always require apiresource schema to be present
2323 kubectl create -f config/examples/virtualresources/apiresourceschema-instances.yaml
2424 kubectl create -f config/examples/virtualresources/instances.yaml
2525
26- # create caching for the resources
26+ # create caching for the resources with a pre-made CachedResources identity
27+ kubectl create -f config/examples/virtualresources/cached-resource-identity.yaml
2728 kubectl create -f config/examples/virtualresources/cached-resource-instances.yaml
2829 ```
2930
30- 3 . Create a an APIResourceSchema for actual virtual machines to be distributed,
31+ 3 . Create an APIResourceSchema for actual virtual machines to be distributed,
3132 which will be using instance types.
3233
3334 ``` bash
@@ -52,4 +53,4 @@ in a scalable way.
5253
5354 ``` bash
5455 kubectl get instances.machines.svm.io
55- ```
56+ ```
0 commit comments