Migrating from Skupper v1¶
Skupper v1 sites are not compatible with Skupper v2 sites. While there are plans to create migration tooling, currently, the only way migrate an application network is to create a new network.
Terminology changes:
- service network: Application network or just network
- service sync: Services are not automatically available on other sites. You must create a connector on the site with the server process and a listener on the site with the client process. Also you must match the connector and listener with a routing key to expose a service.
- Skupper Custom Resources: On non-Kubernetes sites, you can now define your network using YAML. The YAML format is similar to Kubernetes YAML.
Creating sites¶
Creating sites using CLI:
The site does not accept links by default.
Use --enable-link-access to allow other sites link to the new site.
On Podman, the site definition is created in ~/.local/share/skupper and you must enter skupper system setup to complete site creation.
Linking sites¶
These examples show how site-linking commands changed between Skupper v1 and Skupper v2.
Exposing services¶
These examples show how service-exposure commands changed between Skupper v1 and Skupper v2.
The new routing-key option gives you more control over how services are defined, for example to expose the service as backend2 in contextB: